diff --git a/apps/client/src/app/core/auth.guard.ts b/apps/client/src/app/core/auth.guard.ts index 318e6a82e..d196cb68d 100644 --- a/apps/client/src/app/core/auth.guard.ts +++ b/apps/client/src/app/core/auth.guard.ts @@ -40,7 +40,10 @@ export class AuthGuard implements CanActivate { .get() .pipe( catchError(() => { - if (AuthGuard.PUBLIC_PAGE_ROUTES.includes(state.url)) { + if (route.queryParams?.utm_source) { + this.router.navigate(['/register']); + resolve(false); + } else if (AuthGuard.PUBLIC_PAGE_ROUTES.includes(state.url)) { resolve(true); return EMPTY; } else if (state.url !== '/start') { diff --git a/apps/client/src/app/pages/register/register-page.html b/apps/client/src/app/pages/register/register-page.html index d2db0e3d8..91fc4accd 100644 --- a/apps/client/src/app/pages/register/register-page.html +++ b/apps/client/src/app/pages/register/register-page.html @@ -2,7 +2,7 @@

- Create your Ghostfolio account + Create your Account

diff --git a/apps/client/src/app/pages/webauthn/webauthn-page.html b/apps/client/src/app/pages/webauthn/webauthn-page.html index df2d971d5..d4a76b54a 100644 --- a/apps/client/src/app/pages/webauthn/webauthn-page.html +++ b/apps/client/src/app/pages/webauthn/webauthn-page.html @@ -1,34 +1,36 @@
-
- -
+
+
+ +
-
- -
-
-

- Oops, authentication has failed. -

-
+
- Try again - -
or
- +

+ Oops, authentication has failed. +

+ +
or
+ +