mirror of
https://github.com/bitwarden/web
synced 2026-01-19 17:03:21 +00:00
[Reset Password] Admin Actions (#935)
* [Reset Password] Admin Actions * Updated components to pass orgUser.Id and use within password reset apis * Removed password auto-generation, fixed loading visual bug by chaining promise actions * Update jslib 97ece68 -> 73ec484 * Updated all classes to new reset password flows * Update jslib (73ec484 -> 5f1ad85) * Update jslib (5f1ad85 -> 395ded0) * Update encryption steps for change-password flow * Fixed merge conflicts * Updated based on requested changes
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
title="{{'organizationIsDisabled' | i18n}}" aria-hidden="true"></i>
|
||||
<span class="sr-only">{{'organizationIsDisabled' | i18n}}</span>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="o.isResetPasswordEnrolled">
|
||||
<ng-container *ngIf="showEnrolledStatus(o)">
|
||||
<i class="fa fa-key" appStopProp title="{{'enrolledPasswordReset' | i18n}}"
|
||||
aria-hidden="true"></i>
|
||||
<span class="sr-only">{{'enrolledPasswordReset' | i18n}}</span>
|
||||
@@ -79,13 +79,13 @@
|
||||
<i class="fa fa-cog fa-lg" aria-hidden="true"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<a *ngIf="!o.isResetPasswordEnrolled && resetPasswordFeatureFlag" class="dropdown-item"
|
||||
<a *ngIf="allowEnrollmentChanges(o) && !o.resetPasswordEnrolled" class="dropdown-item"
|
||||
href="#" appStopClick (click)="toggleResetPasswordEnrollment(o)">
|
||||
<i class="fa fa-fw fa-key" aria-hidden="true"></i>
|
||||
{{'enrollPasswordReset' | i18n}}
|
||||
</a>
|
||||
<a *ngIf="o.isResetPasswordEnrolled" class="dropdown-item" href="#" appStopClick
|
||||
(click)="toggleResetPasswordEnrollment(o)">
|
||||
<a *ngIf="allowEnrollmentChanges(o) && o.resetPasswordEnrolled" class="dropdown-item"
|
||||
href="#" appStopClick (click)="toggleResetPasswordEnrollment(o)">
|
||||
<i class="fa fa-fw fa-undo" aria-hidden="true"></i>
|
||||
{{'withdrawPasswordReset' | i18n}}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user