Bladeren bron

:recycle: forward to login

neo
toj 2 jaren geleden
bovenliggende
commit
0f3002551e
2 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 0
    1
      frontend/src/router/guards.js
  2. 1
    1
      frontend/src/services/auth.service.js

+ 0
- 1
frontend/src/router/guards.js Bestand weergeven

@@ -41,7 +41,6 @@ const checkLoginStatus = async (destination, nextCb) => {
41 41
     ) {
42 42
         nextCb('/onboarding')
43 43
     } else if (
44
-        destination.meta.requiresCompleteProfile &&
45 44
         destination.meta.requiresAuth &&
46 45
         !currentProfile.isLoggedIn
47 46
     ) {

+ 1
- 1
frontend/src/services/auth.service.js Bestand weergeven

@@ -56,7 +56,7 @@ class Authenticator {
56 56
     async checkSessionValid() {
57 57
         const validation = await this.#isValidSession()
58 58
         if (validation.error)
59
-            return console.error('ERROR :=>', validation.error)
59
+            console.error('ERROR :=>', validation.error)
60 60
         return validation
61 61
     }
62 62
 }

Laden…
Annuleren
Opslaan