mirror of
https://github.com/bitwarden/web
synced 2026-01-02 08:33:18 +00:00
Bulk confirm (#987)
* Add bulk confirm * Add confirmation modal to the other bulk actions * Add spinner to bulk status to let the user know something is going on * Fix linting * Add await before reloading users * Close modal on error * Bump jslib
This commit is contained in:
@@ -201,7 +201,7 @@ export class ChangePasswordComponent extends BaseChangePasswordComponent {
|
||||
|
||||
for (const org of orgs) {
|
||||
// If not already enrolled, skip
|
||||
if (!org.isResetPasswordEnrolled) {
|
||||
if (!org.resetPasswordEnrolled) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ export class OrganizationsComponent implements OnInit {
|
||||
let toastStringRef = 'withdrawPasswordResetSuccess';
|
||||
|
||||
// Enroll - encrpyt user's encKey.key with organization key
|
||||
if (!org.isResetPasswordEnrolled) {
|
||||
if (!org.resetPasswordEnrolled) {
|
||||
const encKey = await this.cryptoService.getEncKey();
|
||||
const orgSymKey = await this.cryptoService.getOrgKey(org.id);
|
||||
const encryptedKey = await this.cryptoService.encrypt(encKey.key, orgSymKey);
|
||||
|
||||
Reference in New Issue
Block a user