[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
OrgId = response.Id;
ResetPasswordAutoEnroll = response.ResetPasswordEnrolled;
ResetPasswordAutoEnroll = response.ResetPasswordEnabled;
}
catch (ApiException e)
{

View File

@ -3,6 +3,6 @@ namespace Bit.Core.Models.Response
public class OrganizationAutoEnrollStatusResponse
{
public string Id { get; set; }
public bool ResetPasswordEnrolled { get; set; }
public bool ResetPasswordEnabled { get; set; }
}
}