mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Compare commits
11 Commits
220f8a8e46
...
bug/PS-250
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8417770dcd | ||
|
|
9c60151102 | ||
|
|
a37f585a72 | ||
|
|
b2ca1ac651 | ||
|
|
22b41df8b9 | ||
|
|
b882997ee1 | ||
|
|
a4ff1bb8b4 | ||
|
|
323642c2f5 | ||
|
|
2eaa29f6f7 | ||
|
|
b299035e05 | ||
|
|
c936c7a9c1 |
@@ -23,7 +23,6 @@ import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.se
|
||||
import { StateService } from "jslib-common/abstractions/state.service";
|
||||
import { SyncService } from "jslib-common/abstractions/sync.service";
|
||||
import { TokenService } from "jslib-common/abstractions/token.service";
|
||||
import { CipherType } from "jslib-common/enums/cipherType";
|
||||
import { CipherView } from "jslib-common/models/view/cipherView";
|
||||
|
||||
import { UpdateKeyComponent } from "../../../../settings/update-key.component";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,5 +41,9 @@
|
||||
<small>{{ "minutes" | i18n }}</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<small *ngIf="!exceedsMinimumTimout" class="tw-text-danger">
|
||||
<i class="bwi bwi-error" aria-hidden="true"></i> {{ "vaultCustomTimeoutMinimum" | i18n }}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4431,6 +4431,12 @@
|
||||
"vaultTimeoutToLarge": {
|
||||
"message": "Your vault timeout exceeds the restriction set by your organization."
|
||||
},
|
||||
"vaultCustomTimeoutMinimum": {
|
||||
"message": "Minimum custom timeout is 1 minute."
|
||||
},
|
||||
"vaultTimeoutRangeError": {
|
||||
"message": "Vault Timeout is not within allowed range."
|
||||
},
|
||||
"disablePersonalVaultExport": {
|
||||
"message": "Disable Personal Vault Export"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user