mirror of
https://github.com/bitwarden/server
synced 2025-12-14 15:23:42 +00:00
back to corehelpers
This commit is contained in:
@@ -250,7 +250,7 @@ namespace Bit.Core.Services
|
||||
if(_globalSettings.DisableUserRegistration && !string.IsNullOrWhiteSpace(token) && orgUserId.HasValue)
|
||||
{
|
||||
tokenValid = CoreHelpers.UserInviteTokenIsValid(_organizationServiceDataProtector, token,
|
||||
user.Email, orgUserId.Value);
|
||||
user.Email, orgUserId.Value, _globalSettings);
|
||||
}
|
||||
|
||||
if(_globalSettings.DisableUserRegistration && !tokenValid)
|
||||
|
||||
Reference in New Issue
Block a user