fix: fetch data after save, change i18n (#2178)

This commit is contained in:
Max Peintner 2021-08-11 13:20:17 +02:00 committed by GitHub
parent cf8515598c
commit 87fa6e58fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -104,6 +104,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts, this.lockoutData.maxPasswordAttempts,
).then(() => { ).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true); this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => { }).catch(error => {
this.toast.showError(error); this.toast.showError(error);
}); });
@ -113,6 +114,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts, this.lockoutData.maxPasswordAttempts,
).then(() => { ).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true); this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => { }).catch(error => {
this.toast.showError(error); this.toast.showError(error);
}); });
@ -121,6 +123,7 @@ export class PasswordLockoutPolicyComponent implements OnDestroy {
this.lockoutData.maxPasswordAttempts, this.lockoutData.maxPasswordAttempts,
).then(() => { ).then(() => {
this.toast.showInfo('POLICY.TOAST.SET', true); this.toast.showInfo('POLICY.TOAST.SET', true);
this.fetchData();
}).catch(error => { }).catch(error => {
this.toast.showError(error); this.toast.showError(error);
}); });

View File

@ -691,7 +691,7 @@
"DESCRIPTION": "You can set a policy for the aging of passwords. This policy emits a warning after the specific aging time has elapsed." "DESCRIPTION": "You can set a policy for the aging of passwords. This policy emits a warning after the specific aging time has elapsed."
}, },
"PWD_LOCKOUT": { "PWD_LOCKOUT": {
"TITLE": "Password Lockout", "TITLE": "Lockout Policy",
"DESCRIPTION": "Set a maximum number of passwordretries, after which accounts will be blocked." "DESCRIPTION": "Set a maximum number of passwordretries, after which accounts will be blocked."
}, },
"IAM_POLICY": { "IAM_POLICY": {
@ -803,7 +803,7 @@
"HASLOWERCASE": "has lowercase", "HASLOWERCASE": "has lowercase",
"HASUPPERCASE": "has uppercase", "HASUPPERCASE": "has uppercase",
"SHOWLOCKOUTFAILURES": "show lockout failures", "SHOWLOCKOUTFAILURES": "show lockout failures",
"MAXATTEMPTS": "Max Attempts", "MAXATTEMPTS": "Password maximum Attempts",
"EXPIREWARNDAYS": "Expiration Warning after day", "EXPIREWARNDAYS": "Expiration Warning after day",
"MAXAGEDAYS": "Max Age in days", "MAXAGEDAYS": "Max Age in days",
"USERLOGINMUSTBEDOMAIN": "User Login must be Domain", "USERLOGINMUSTBEDOMAIN": "User Login must be Domain",