mirror of
https://github.com/bitwarden/browser
synced 2026-02-20 03:13:55 +00:00
feat(change-password-component): Change Password Update [18720] - More touchups, very close to complete.
This commit is contained in:
@@ -98,7 +98,7 @@ export class WebLoginComponentService
|
||||
const enforcedPasswordPolicyOptions = await firstValueFrom(
|
||||
this.accountService.activeAccount$.pipe(
|
||||
getUserId,
|
||||
switchMap((userId) => this.policyService.masterPasswordPolicyOptions$(userId)),
|
||||
switchMap((userId) => this.policyService.masterPasswordPolicyOptions$(userId, policies)),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
</div>
|
||||
|
||||
<div class="tw-max-w-lg tw-mb-12">
|
||||
<bit-callout type="warning">{{ "loggedOutWarning" | i18n }}</bit-callout>
|
||||
<auth-change-password [inputPasswordFlow]="inputPasswordFlow"></auth-change-password>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -155,8 +155,10 @@ const routes: Routes = [
|
||||
},
|
||||
],
|
||||
data: {
|
||||
pageIcon: undefined,
|
||||
pageIcon: LockIcon,
|
||||
pageTitle: { key: "updateMasterPassword" },
|
||||
hideFooter: true,
|
||||
maxWidth: "lg",
|
||||
} satisfies AnonLayoutWrapperData,
|
||||
},
|
||||
],
|
||||
@@ -168,7 +170,7 @@ const routes: Routes = [
|
||||
canActivate: [
|
||||
canAccessFeature(
|
||||
FeatureFlag.PM16117_ChangeExistingPasswordRefactor,
|
||||
false,
|
||||
true,
|
||||
"/change-password",
|
||||
false,
|
||||
),
|
||||
@@ -182,7 +184,7 @@ const routes: Routes = [
|
||||
canActivate: [
|
||||
canAccessFeature(
|
||||
FeatureFlag.PM16117_ChangeExistingPasswordRefactor,
|
||||
false,
|
||||
true,
|
||||
"/change-password",
|
||||
false,
|
||||
),
|
||||
|
||||
@@ -1788,6 +1788,9 @@
|
||||
"loggedOutWarning": {
|
||||
"message": "Proceeding will log you out of your current session, requiring you to log back in. Active sessions on other devices may continue to remain active for up to one hour."
|
||||
},
|
||||
"changePasswordWarning": {
|
||||
"message": "After changing your password, you will need to log in with your new password. Active sessions on other devices will be logged out within one hour."
|
||||
},
|
||||
"emailChanged": {
|
||||
"message": "Email saved"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user