mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Working on tests
This commit is contained in:
parent
c469dc6fcb
commit
4235bdfbb3
@ -120,8 +120,8 @@ class AuthController extends Controller
|
||||
if (! Utils::isNinja() && ! User::count()) {
|
||||
return redirect()->to('/setup');
|
||||
}
|
||||
/*
|
||||
if (Utils::isNinja()) {
|
||||
|
||||
if (Utils::isNinja() && ! Utils::isTravis()) {
|
||||
// make sure the user is on SITE_URL/login to ensure OAuth works
|
||||
$requestURL = request()->url();
|
||||
$loginURL = SITE_URL . '/login';
|
||||
@ -130,7 +130,7 @@ class AuthController extends Controller
|
||||
return redirect()->to($loginURL);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
return self::getLogin();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user