Skip to content

Commit

Permalink
no initial password is set for the users
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal committed Oct 25, 2023
1 parent 014f19a commit fa6f51a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/account/keycloak-user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,7 @@ export class KeycloakUser {
this.username = username;
this.email = email;
this.attributes = { exact_username: username };
this.requiredActions = ['VERIFY_EMAIL'];
this.credentials = [
{
type: 'password',
value: 'TmpPass1!',
// this triggers the set new password flow
temporary: true,
},
];
this.requiredActions = ['VERIFY_EMAIL', 'UPDATE_PASSWORD'];
this.credentials = [];
}
}

0 comments on commit fa6f51a

Please sign in to comment.