mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
[PM-2293] PR fixes
This commit is contained in:
@@ -593,7 +593,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public Task<PasswordlessLoginResponse> PostCreateRequestAsync(PasswordlessCreateLoginRequest passwordlessCreateLoginRequest, AuthRequestType authRequestType)
|
||||
{
|
||||
return SendAsync<object, PasswordlessLoginResponse>(HttpMethod.Post, authRequestType == AuthRequestType.AdminApproval ? $"/auth-requests/admin-request" : $"/auth-requests", passwordlessCreateLoginRequest, authRequestType == AuthRequestType.AdminApproval, true);
|
||||
return SendAsync<object, PasswordlessLoginResponse>(HttpMethod.Post, authRequestType == AuthRequestType.AdminApproval ? "/auth-requests/admin-request" : "/auth-requests", passwordlessCreateLoginRequest, authRequestType == AuthRequestType.AdminApproval, true);
|
||||
}
|
||||
|
||||
public Task<PasswordlessLoginResponse> PutAuthRequestAsync(string id, string encKey, string encMasterPasswordHash, string deviceIdentifier, bool requestApproved)
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
AuthResult response = null;
|
||||
// On SSO flow user is already AuthN
|
||||
if (await this._stateService.IsAuthenticatedAsync())
|
||||
if (await _stateService.IsAuthenticatedAsync())
|
||||
{
|
||||
var decryptedKey = await _cryptoService.RsaDecryptAsync(masterKey, decryptionKey);
|
||||
if (string.IsNullOrEmpty(masterKeyHash))
|
||||
|
||||
Reference in New Issue
Block a user