diff --git a/resources/assets/vue/general/mixins/guards.js b/resources/assets/vue/general/mixins/guards.js
index 3b39baad..3e5aaea5 100644
--- a/resources/assets/vue/general/mixins/guards.js
+++ b/resources/assets/vue/general/mixins/guards.js
@@ -5,7 +5,7 @@ export default {
(this.$store.getters.isAuthenticated && !this.isProtectedRoute()&& !this.isWithTokenRoute()) ? window.location.href = this.route('dashboard') : '';
},
isProtectedRoute(){
- const unprotectedRoutes = [this.route('login'), this.route('account.email.verification')];
+ const unprotectedRoutes = [this.route('login'), this.route('signup'), this.route('account.email.verification')];
return !unprotectedRoutes.includes(window.location.href);
},
isWithTokenRoute(){
diff --git a/resources/views/pages/accounts/login.blade.php b/resources/views/pages/accounts/login.blade.php
index a6ab237c..990eb4cc 100644
--- a/resources/views/pages/accounts/login.blade.php
+++ b/resources/views/pages/accounts/login.blade.php
@@ -64,7 +64,7 @@
diff --git a/routes/web.php b/routes/web.php
index db16a917..dafe7a1f 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -32,7 +32,7 @@ Route::get('', function () {
Route::get('/signup', function () {
return view('pages.accounts.sign_up');
-})->name('sign_up');
+})->name('signup');
Route::get('/account/email/verification/{token}', function ($token) {
return view('pages.accounts.email_verified', ['token' => $token]);