mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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.username = this._username;
|
||||||
|
user.credentials = [
|
||||||
|
{
|
||||||
|
type: "homeassistant",
|
||||||
|
},
|
||||||
|
];
|
||||||
this._params!.userAddedCallback(user);
|
this._params!.userAddedCallback(user);
|
||||||
this._close();
|
this._close();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user