diff --git a/console/src/app/pages/users/user-create/user-create.component.html b/console/src/app/pages/users/user-create/user-create.component.html
index fbb5245572..3832f6f72d 100644
--- a/console/src/app/pages/users/user-create/user-create.component.html
+++ b/console/src/app/pages/users/user-create/user-create.component.html
@@ -30,7 +30,7 @@
required
[ngStyle]="{ 'padding-right': suffixPadding ? suffixPadding : '10px' }"
/>
- {{ envSuffixLabel }}
+ {{ envSuffix }}
{{ 'USER.VALIDATION.REQUIRED' | translate }}
diff --git a/console/src/app/pages/users/user-create/user-create.component.ts b/console/src/app/pages/users/user-create/user-create.component.ts
index ee45e04e5d..d8cdfcbb26 100644
--- a/console/src/app/pages/users/user-create/user-create.component.ts
+++ b/console/src/app/pages/users/user-create/user-create.component.ts
@@ -46,8 +46,6 @@ export class UserCreateComponent implements OnDestroy {
public languages: string[] = ['de', 'en', 'it', 'fr'];
public userForm!: UntypedFormGroup;
public pwdForm!: UntypedFormGroup;
-
- public envSuffixLabel: string = '';
private destroyed$: Subject = new Subject();
public userLoginMustBeDomain: boolean = false;
@@ -84,14 +82,12 @@ export class UserCreateComponent implements OnDestroy {
}
this.initForm();
this.loading = false;
- this.envSuffixLabel = this.envSuffix();
this.changeDetRef.detectChanges();
})
.catch((error) => {
console.error(error);
this.initForm();
this.loading = false;
- this.envSuffixLabel = this.envSuffix();
this.changeDetRef.detectChanges();
});
@@ -249,7 +245,8 @@ export class UserCreateComponent implements OnDestroy {
public get confirmPassword(): AbstractControl | null {
return this.pwdForm.get('confirmPassword');
}
- private envSuffix(): string {
+
+ public get envSuffix(): string {
if (this.userLoginMustBeDomain && this.primaryDomain?.domainName) {
return `@${this.primaryDomain.domainName}`;
} else {
diff --git a/console/src/assets/i18n/it.json b/console/src/assets/i18n/it.json
index 400328a062..466bc14c5b 100644
--- a/console/src/assets/i18n/it.json
+++ b/console/src/assets/i18n/it.json
@@ -868,7 +868,7 @@
"GENERAL": "Generale",
"LOGIN": "Comportamento login e sicurezza",
"LOCKOUT": "Meccanismi di bloccaggio",
- "COMPLEXITY": "complessità della password",
+ "COMPLEXITY": "Complessità della password",
"NOTIFICATIONS": "Notifiche",
"NOTIFICATIONS_DESC": "Impostazioni SMTP e SMS",
"MESSAGETEXTS": "Testi di notifica",