mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 02:23:44 +00:00
[Reset Password] Feature Flag (#943)
This commit is contained in:
@@ -29,6 +29,8 @@ export class OrganizationsComponent implements OnInit {
|
||||
organizations: Organization[];
|
||||
loaded: boolean = false;
|
||||
actionPromise: Promise<any>;
|
||||
// TODO Remove feature flag once ready for general release
|
||||
resetPasswordFeatureFlag = false;
|
||||
|
||||
constructor(private userService: UserService, private platformUtilsService: PlatformUtilsService,
|
||||
private i18nService: I18nService, private apiService: ApiService,
|
||||
@@ -86,6 +88,11 @@ export class OrganizationsComponent implements OnInit {
|
||||
}
|
||||
|
||||
async toggleResetPasswordEnrollment(org: Organization) {
|
||||
// Feature Flag
|
||||
if (!this.resetPasswordFeatureFlag) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set variables
|
||||
let keyString: string = null;
|
||||
let toastStringRef = 'withdrawPasswordResetSuccess';
|
||||
|
||||
Reference in New Issue
Block a user