1
0
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:
Vincent Salucci
2021-06-02 11:35:49 -05:00
committed by GitHub
parent 65b52617a8
commit 1bacc8b774
19 changed files with 655 additions and 43 deletions

View File

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