Fix et add translation

This commit is contained in:
2026-01-19 14:46:32 +01:00
parent 68891fe8c6
commit 20859f7f68
16 changed files with 290 additions and 153 deletions

View File

@@ -47,7 +47,7 @@ export class CreateUserComponent implements OnInit {
private route: ActivatedRoute,
private router: Router,
private authenticationService: AuthenticationService,
private translateService: TranslateService
private translateService: TranslateService,
) {
// redirect to home if already logged in
if (this.authenticationService.currentUserValue) {
@@ -67,12 +67,12 @@ export class CreateUserComponent implements OnInit {
[
Validators.required,
Validators.pattern(
"^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[@$!%*#?&-_|]).{8,}$"
"^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[@$!%*#?&-_|]).{8,}$",
),
],
],
},
{ updateOn: "blur" }
{ updateOn: "blur" },
);
// get return url from route parameters or default to '/'