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

Multi-db fixes

This commit is contained in:
Hillel Coren 2017-05-10 14:09:07 +03:00
parent 44e477a9e1
commit 9a3a81f152

View File

@ -41,9 +41,6 @@ class DatabaseLookup
LookupInvitation::setServerByField('invitation_key', $key);
} elseif ($key = request()->contact_key ?: session('contact_key')) {
LookupContact::setServerByField('contact_key', $key);
} else {
Auth::logout();
return redirect('/client/sessionexpired');
}
} elseif ($guard == 'postmark') {
LookupInvitation::setServerByField('message_id', request()->MessageID);