1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Working on tests

This commit is contained in:
Hillel Coren 2017-08-02 22:12:08 +03:00
parent 6d851ca815
commit abdc626435

View File

@ -23,11 +23,13 @@ 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 {