public async Task <TwoFactorRecoverResponseModel> GetRecover([FromBody] TwoFactorRequestModel model) { var user = await CheckAsync(model.MasterPasswordHash, false); var response = new TwoFactorRecoverResponseModel(user); return(response); }
public async Task <TwoFactorRecoverResponseModel> GetRecover([FromBody] SecretVerificationRequestModel model) { var user = await CheckAsync(model, false); var response = new TwoFactorRecoverResponseModel(user); return(response); }