mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:47:23 +00:00
fix(console): auth guard, i18n (#1296)
* fix: auth guard, i18n * Update console/src/app/guards/auth.guard.ts Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
This commit is contained in:
parent
27be460c07
commit
f01921371c
@ -17,9 +17,7 @@ export class AuthGuard implements CanActivate {
|
||||
state: RouterStateSnapshot,
|
||||
): Observable<boolean> | Promise<boolean> | Promise<any> | boolean {
|
||||
if (!this.auth.authenticated) {
|
||||
return this.auth.authenticate().then(() => {
|
||||
return this.authService.GetActiveOrg();
|
||||
});
|
||||
return this.auth.authenticate();
|
||||
}
|
||||
return this.auth.authenticated;
|
||||
}
|
||||
|
@ -9,16 +9,16 @@
|
||||
"STEPS_TITLE":"Complete the following steps in the order you want:",
|
||||
"STEPS": {
|
||||
"1": {
|
||||
"TITLE":"Projekt erstellen",
|
||||
"DESC":"Erstellen Sie Ihr erstes Projekt und legen Sie Zugangsberechtigungen eventueller Mitarbeiter fest."
|
||||
"TITLE":"Create a project",
|
||||
"DESC":"Create your first project and define access rights for any employees."
|
||||
},
|
||||
"2": {
|
||||
"TITLE":"Applikation erstellen",
|
||||
"DESC":"Erstellen Sie eine Applikation innerhalb Ihres Projektes und legen Sie dessen Eigenschaften fest."
|
||||
"TITLE":"Create Application",
|
||||
"DESC":"Create an application within your project and define its properties."
|
||||
},
|
||||
"3": {
|
||||
"TITLE":"Sicherheit verbessern",
|
||||
"DESC":"Erweitern Sie die Zugangsrichtlinien und erhöhen Sie dadurch die Sicherheit ihrer Benutzer."
|
||||
"TITLE":"Improve security",
|
||||
"DESC":"Extend the access policies and thereby increase the security of your users."
|
||||
}
|
||||
},
|
||||
"START":"Start",
|
||||
|
Loading…
x
Reference in New Issue
Block a user