1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 23:33:34 +00:00

[SSO/Auto Enroll] Fixed response object typo (#1542)

This commit is contained in:
Vincent Salucci
2021-09-16 23:01:12 -05:00
committed by GitHub
parent 024d9380c9
commit 51be6e522b
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{ {

View File

@@ -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; }
} }
} }