1
0
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:
Hillel Coren 2017-04-18 17:04:44 +03:00
parent c469dc6fcb
commit 4235bdfbb3

View File

@ -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();
}