mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
A few fixes to TwoFactorProvider
This commit is contained in:
@ -200,6 +200,7 @@ namespace Bit.Api.Controllers
|
||||
throw new BadRequestException("Token", "Invalid token.");
|
||||
}
|
||||
|
||||
user.TwoFactorProvider = TwoFactorProvider.Authenticator;
|
||||
user.TwoFactorEnabled = model.Enabled.Value;
|
||||
await _userService.SaveUserAsync(user);
|
||||
|
||||
|
Reference in New Issue
Block a user