customer is directed to correct URL after login
This commit is contained in:
parent
9439188392
commit
5658cf4165
@ -70,7 +70,7 @@ class Login extends Controller
|
||||
|
||||
// Check if is customer
|
||||
if ($user->customer) {
|
||||
return redirect('customers');
|
||||
return redirect()->intended('customers');
|
||||
}
|
||||
|
||||
return redirect('/');
|
||||
|
Loading…
x
Reference in New Issue
Block a user