1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Added OrgIdentifer to SetPasswordAsync // Added jit user two factor provider (#1009)

This commit is contained in:
Vincent Salucci
2020-11-22 08:46:44 -06:00
committed by GitHub
parent 58eb0510ca
commit f311f40d93
2 changed files with 22 additions and 1 deletions

View File

@ -210,7 +210,8 @@ namespace Bit.Api.Controllers
throw new UnauthorizedAccessException();
}
var result = await _userService.SetPasswordAsync(model.ToUser(user), model.MasterPasswordHash, model.Key);
var result = await _userService.SetPasswordAsync(model.ToUser(user), model.MasterPasswordHash, model.Key,
model.OrgIdentifier);
if (result.Succeeded)
{
return;