1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

[PS-250] Prevent timeouts less than 1 minute (#2836)

* migrated PR to mono repo

* revert and modify file

* revert and modify file
This commit is contained in:
Gbubemi Smith
2022-06-08 05:41:27 +01:00
committed by GitHub
parent 1d533f801d
commit 93e8c8b25a
3 changed files with 16 additions and 2 deletions

View File

@@ -83,7 +83,11 @@ export class PreferencesComponent implements OnInit {
async submit() {
if (!this.vaultTimeout.valid) {
this.platformUtilsService.showToast("error", null, this.i18nService.t("vaultTimeoutToLarge"));
this.platformUtilsService.showToast(
"error",
null,
this.i18nService.t("vaultTimeoutRangeError")
);
return;
}