mirror of
https://github.com/bitwarden/browser
synced 2026-02-02 17:53:41 +00:00
[PM-27086] cleanup unnecessary curly braces and property
This commit is contained in:
@@ -195,7 +195,7 @@ 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: {
|
||||
case SetInitialPasswordUserType.TDE_ORG_USER_RESET_PASSWORD_PERMISSION_REQUIRES_MP:
|
||||
// Remove wrapping "if" check in PM-28143
|
||||
if (passwordInputResult.newApisFlagEnabled) {
|
||||
await this.setInitialPassword(passwordInputResult);
|
||||
@@ -205,7 +205,6 @@ export class SetInitialPasswordComponent implements OnInit {
|
||||
await this.setInitialPasswordOld(passwordInputResult);
|
||||
|
||||
break;
|
||||
}
|
||||
case SetInitialPasswordUserType.OFFBOARDED_TDE_ORG_USER:
|
||||
await this.setInitialPasswordTdeOffboarding(passwordInputResult);
|
||||
break;
|
||||
|
||||
@@ -412,7 +412,6 @@ export class InputPasswordComponent implements OnInit {
|
||||
newLocalMasterKeyHash,
|
||||
newPasswordHint,
|
||||
kdfConfig: this.kdfConfig,
|
||||
newApisFlagEnabled,
|
||||
};
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user