Skip to content

Commit

Permalink
Add credential to user after creation
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon committed Jun 28, 2024
1 parent d33cf4f commit b476213
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/panels/config/users/dialog-add-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,11 @@ export class DialogAddUser extends LitElement {
}

user.username = this._username;
user.credentials = [
{
type: "homeassistant",
},
];
this._params!.userAddedCallback(user);
this._close();
}
Expand Down

0 comments on commit b476213

Please sign in to comment.