1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 05:00:10 +00:00

[PM-27086] update comments

This commit is contained in:
rr-bw
2025-12-23 17:04:43 -08:00
parent 6b56ed7c32
commit 6c0a11c940

View File

@@ -196,13 +196,13 @@ export class SetInitialPasswordComponent implements OnInit {
switch (this.userType) {
case SetInitialPasswordUserType.JIT_PROVISIONED_MP_ORG_USER:
case SetInitialPasswordUserType.TDE_ORG_USER_RESET_PASSWORD_PERMISSION_REQUIRES_MP:
// Remove wrapping "if" check in PM-28143
// Remove wrapping "if" check and early return in PM-28143
if (passwordInputResult.newApisFlagEnabled) {
await this.setInitialPassword(passwordInputResult);
return;
}
await this.setInitialPasswordOld(passwordInputResult);
await this.setInitialPasswordOld(passwordInputResult); // remove in PM-28143
break;
case SetInitialPasswordUserType.OFFBOARDED_TDE_ORG_USER: