Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit ae50463

Browse files
committed
Update Register and Login Controller
1 parent 8b68e25 commit ae50463

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/Http/Controllers/Auth/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class LoginController extends Controller
2525
*
2626
* @var string
2727
*/
28-
protected $redirectTo = '/home';
28+
protected $redirectTo = '/forums';
2929

3030
/**
3131
* Create a new controller instance.

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class RegisterController extends Controller
2828
*
2929
* @var string
3030
*/
31-
protected $redirectTo = '/home';
31+
protected $redirectTo = '/forums';
3232

3333
/**
3434
* Create a new controller instance.

app/Http/Middleware/RedirectIfAuthenticated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class RedirectIfAuthenticated
1818
public function handle($request, Closure $next, $guard = null)
1919
{
2020
if (Auth::guard($guard)->check()) {
21-
return redirect('/home');
21+
return redirect('/forums');
2222
}
2323

2424
return $next($request);

0 commit comments

Comments
 (0)