mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for redirect after logging in
This commit is contained in:
parent
4120d07ed8
commit
86527cf572
@ -28,7 +28,6 @@ class DatabaseLookup
|
||||
LookupUser::setServerByField('email', $email);
|
||||
} else {
|
||||
Auth::logout();
|
||||
return redirect('/login');
|
||||
}
|
||||
} elseif ($guard == 'api') {
|
||||
if ($token = $request->header('X-Ninja-Token')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user