mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
[Reset Password] Enterprise Policy (#1315)
* [Reset Password] Enterprise Policy * Created UI for policy/edit policy // Updated TODOs for policy dependent checks * Updated reset password data model field name to be more descriptive * Update title to Master Password Reset * Updated PoliciesModel, Policy Model spacing, and strings
This commit is contained in:
@@ -51,8 +51,7 @@ namespace Bit.Portal.Controllers
|
||||
}
|
||||
|
||||
var policies = await _policyRepository.GetManyByOrganizationIdAsync(orgId.Value);
|
||||
var selectedOrgUseSso = _enterprisePortalCurrentContext.SelectedOrganizationDetails.UseSso;
|
||||
return View(new PoliciesModel(policies, selectedOrgUseSso));
|
||||
return View(new PoliciesModel(policies, _enterprisePortalCurrentContext.SelectedOrganizationDetails));
|
||||
}
|
||||
|
||||
[HttpGet("/edit/{type}")]
|
||||
@@ -138,6 +137,7 @@ namespace Bit.Portal.Controllers
|
||||
case PolicyType.PersonalOwnership:
|
||||
case PolicyType.DisableSend:
|
||||
case PolicyType.SendOptions:
|
||||
case PolicyType.ResetPassword:
|
||||
break;
|
||||
|
||||
case PolicyType.SingleOrg:
|
||||
|
||||
Reference in New Issue
Block a user