-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] respect
Accounts_Registration_Users_Default_Roles
setting (#2…
…4173) * Fix role handling if setup wizard pending and no admin found Signed-off-by: Debdut Chakraborty <debdut.chakraborty@rocket.chat> * [FIX] Create `findOneByRolesAndType` function (#24308) * Create findOneByRolesAndType function and stop adding user role by default * Remove logs * Remove default user role in userHandler.js * Update app/authentication/server/startup/index.js Co-authored-by: Debdut Chakraborty <debdut.chakraborty@rocket.chat> * fix lint issues * Check if the server has an admin user before assigning the admin role on server startup Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com> Co-authored-by: matheusbsilva137 <matheus_barbosa137@hotmail.com>
- Loading branch information
1 parent
ee7dd16
commit a6a04cb
Showing
2 changed files
with
19 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters