aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Http/Middleware/RedirectIfAuthenticated.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 13:57:57 +0200
committerMarvin Borner2018-07-20 13:57:57 +0200
commit932d439444f10774bff546923cc0a2e5e2f2857b (patch)
treeef9bcc039d263f929b4f4991881a52a8343c1dfe /app/Http/Middleware/RedirectIfAuthenticated.php
parentbd04ac097a0a29ba7c48a5f4a46d99ae7d86eea1 (diff)
Rewrite (only for backend/oauth/api use from now on)
Diffstat (limited to 'app/Http/Middleware/RedirectIfAuthenticated.php')
-rw-r--r--[-rwxr-xr-x]app/Http/Middleware/RedirectIfAuthenticated.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php
index e27860e..e4cec9c 100755..100644
--- a/app/Http/Middleware/RedirectIfAuthenticated.php
+++ b/app/Http/Middleware/RedirectIfAuthenticated.php
@@ -18,7 +18,7 @@ class RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
- return redirect('/');
+ return redirect('/home');
}
return $next($request);