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-08-03 11:48:08 +03:00
parent 03fb7692f2
commit 5f01112498

View File

@ -23,13 +23,11 @@ class DatabaseLookup
if ($code = $request->confirmation_code) {
LookupUser::setServerByField('confirmation_code', $code);
} elseif (session(SESSION_DB_SERVER)) {
/*
if (Auth::viaRemember()) {
Auth::logout();
} else {
// do nothing
}
*/
} elseif (! Auth::check() && $email = $request->email) {
LookupUser::setServerByField('email', $email);
} else {