mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
[Reset Password] Manage Reset Password permission (#1252)
This commit is contained in:
@ -788,6 +788,11 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
claims.Add(new KeyValuePair<string, string>("manageusers", org.Id.ToString()));
|
||||
}
|
||||
|
||||
if (org.Permissions.ManageResetPassword)
|
||||
{
|
||||
claims.Add(new KeyValuePair<string, string>("manageresetpassword", org.Id.ToString()));
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user