mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
[SSO/Auto Enroll] Fixed response object typo (#1542)
This commit is contained in:
parent
024d9380c9
commit
51be6e522b
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
var response = await _apiService.GetOrganizationAutoEnrollStatusAsync(OrgIdentifier);
|
var response = await _apiService.GetOrganizationAutoEnrollStatusAsync(OrgIdentifier);
|
||||||
OrgId = response.Id;
|
OrgId = response.Id;
|
||||||
ResetPasswordAutoEnroll = response.ResetPasswordEnrolled;
|
ResetPasswordAutoEnroll = response.ResetPasswordEnabled;
|
||||||
}
|
}
|
||||||
catch (ApiException e)
|
catch (ApiException e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,6 +3,6 @@ namespace Bit.Core.Models.Response
|
||||||
public class OrganizationAutoEnrollStatusResponse
|
public class OrganizationAutoEnrollStatusResponse
|
||||||
{
|
{
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
public bool ResetPasswordEnrolled { get; set; }
|
public bool ResetPasswordEnabled { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue