mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add credential to user after creation (#21221)
This commit is contained in:
parent
beec720b9b
commit
18a6f8d64d
@ -290,6 +290,11 @@ export class DialogAddUser extends LitElement {
|
||||
}
|
||||
|
||||
user.username = this._username;
|
||||
user.credentials = [
|
||||
{
|
||||
type: "homeassistant",
|
||||
},
|
||||
];
|
||||
this._params!.userAddedCallback(user);
|
||||
this._close();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user