diff --git a/web/src/admin/policies/password/PasswordPolicyForm.ts b/web/src/admin/policies/password/PasswordPolicyForm.ts
index 126d7386b..96183b077 100644
--- a/web/src/admin/policies/password/PasswordPolicyForm.ts
+++ b/web/src/admin/policies/password/PasswordPolicyForm.ts
@@ -22,17 +22,14 @@ export class PasswordPolicyForm extends ModelForm {
@state()
showZxcvbn = false;
- loadInstance(pk: string): Promise {
- return new PoliciesApi(DEFAULT_CONFIG)
- .policiesPasswordRetrieve({
- policyUuid: pk,
- })
- .then((policy) => {
- this.showStatic = policy.checkStaticRules || false;
- this.showHIBP = policy.checkHaveIBeenPwned || false;
- this.showZxcvbn = policy.checkZxcvbn || false;
- return policy;
- });
+ async loadInstance(pk: string): Promise {
+ const policy = await new PoliciesApi(DEFAULT_CONFIG).policiesPasswordRetrieve({
+ policyUuid: pk,
+ });
+ this.showStatic = policy.checkStaticRules || false;
+ this.showHIBP = policy.checkHaveIBeenPwned || false;
+ this.showZxcvbn = policy.checkZxcvbn || false;
+ return policy;
}
getSuccessMessage(): string {
@@ -200,26 +197,26 @@ export class PasswordPolicyForm extends ModelForm {
)}
- ${msg("0: Too guessable: risky password. (guesses < 10^3)")}
+ ${msg("0: Too guessable: risky password. (guesses < 10^3)")}
${msg(
- "1: Very guessable: protection from throttled online attacks. (guesses < 10^6)",
+ "1: Very guessable: protection from throttled online attacks. (guesses < 10^6)",
)}
${msg(
- "2: Somewhat guessable: protection from unthrottled online attacks. (guesses < 10^8)",
+ "2: Somewhat guessable: protection from unthrottled online attacks. (guesses < 10^8)",
)}
${msg(
- "3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10)",
+ "3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10)",
)}
${msg(
- "4: Very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10)",
+ "4: Very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10)",
)}
diff --git a/web/xliff/de.xlf b/web/xliff/de.xlf
index fb09939a9..aa0b11fcd 100644
--- a/web/xliff/de.xlf
+++ b/web/xliff/de.xlf
@@ -1954,22 +1954,6 @@
If the password's score is less than or equal this value, the policy will fail.
-
- 0: Too guessable: risky password. (guesses < 10^3)
- Riskantes Passwort, einfach zu erraten. (Anzahl Versuche < 10^3)
-
-
- 1: Very guessable: protection from throttled online attacks. (guesses < 10^6)
-
-
- 2: Somewhat guessable: protection from unthrottled online attacks. (guesses < 10^8)
-
-
- 3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10)
-
-
- 4: Very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10)
-
Checks the value from the policy request against several rules, mostly used to ensure password strength.
Überprüft den Wert aus der Richtlinienanforderung anhand mehrerer Regeln, die hauptsächlich zur Gewährleistung der Kennwortstärke verwendet werden.
@@ -6064,6 +6048,21 @@ Bindings to groups/users are checked against the user of the event.
Connectivity
+
+
+ 0: Too guessable: risky password. (guesses < 10^3)
+
+
+ 1: Very guessable: protection from throttled online attacks. (guesses < 10^6)
+
+
+ 2: Somewhat guessable: protection from unthrottled online attacks. (guesses < 10^8)
+
+
+ 3: Safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10)
+
+
+ 4: Very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10)