mirror of
https://github.com/bitwarden/server
synced 2025-12-20 10:13:39 +00:00
dont cycle security token on re-hash
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Bit.Core.IdentityServer
|
||||
}
|
||||
|
||||
var user = await _userManager.FindByEmailAsync(context.UserName.ToLowerInvariant());
|
||||
if(user == null || !await _userManager.CheckPasswordAsync(user, context.Password))
|
||||
if(user == null || !await _userService.CheckPasswordAsync(user, context.Password))
|
||||
{
|
||||
await BuildErrorResultAsync(false, context, user);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user