Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function authenticated($request, $user)
- {
- if($user->admin === 'admin') {
- return redirect()->intended('/adminPage');
- }
- return redirect()->intended('/');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement