Browse Source

[bug] Auth filter still redirects to /login not auth/login

 if you use make:auth it defaults to auth/login for a path. But if you look at the Auth filter it defaults to /login as a path.
Alfred Nutile 10 years ago
parent
commit
5eaaadc204
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Filters/AuthFilter.php

+ 1 - 1
app/Http/Filters/AuthFilter.php

@@ -23,7 +23,7 @@ class AuthFilter {
 			}
 			else
 			{
-				return Redirect::guest('login');
+				return Redirect::guest('auth/login');
 			}
 		}
 	}