mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 03:33:30 +00:00
[PM-27086] rename flag variable name for clarity
This commit is contained in:
@@ -364,18 +364,18 @@ export class InputPasswordComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
const newApisFlagEnabled = await this.configService.getFeatureFlag(
|
||||
const newApisWithInputPasswordFlagEnabled = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.PM27086_UpdateAuthenticationApisForInputPassword,
|
||||
);
|
||||
|
||||
if (newApisFlagEnabled) {
|
||||
if (newApisWithInputPasswordFlagEnabled) {
|
||||
// 4. Build a PasswordInputResult object
|
||||
const passwordInputResult: PasswordInputResult = {
|
||||
newPassword,
|
||||
kdfConfig: this.kdfConfig,
|
||||
salt,
|
||||
newPasswordHint,
|
||||
newApisFlagEnabled, // To be removed in PM-28143
|
||||
newApisWithInputPasswordFlagEnabled, // To be removed in PM-28143
|
||||
};
|
||||
|
||||
if (
|
||||
|
||||
@@ -16,7 +16,7 @@ export interface PasswordInputResult {
|
||||
*
|
||||
* To be removed in PM-28143
|
||||
*/
|
||||
newApisFlagEnabled?: boolean;
|
||||
newApisWithInputPasswordFlagEnabled?: boolean;
|
||||
|
||||
// The deprecated properties below will be removed in PM-28143: https://bitwarden.atlassian.net/browse/PM-28143
|
||||
|
||||
|
||||
Reference in New Issue
Block a user