Kaynağa Gözat

:recycle: forward to login

neo
toj 2 yıl önce
ebeveyn
işleme
0f3002551e

+ 0
- 1
frontend/src/router/guards.js Dosyayı Görüntüle

41
     ) {
41
     ) {
42
         nextCb('/onboarding')
42
         nextCb('/onboarding')
43
     } else if (
43
     } else if (
44
-        destination.meta.requiresCompleteProfile &&
45
         destination.meta.requiresAuth &&
44
         destination.meta.requiresAuth &&
46
         !currentProfile.isLoggedIn
45
         !currentProfile.isLoggedIn
47
     ) {
46
     ) {

+ 1
- 1
frontend/src/services/auth.service.js Dosyayı Görüntüle

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

Loading…
İptal
Kaydet