mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 00:10:57 -04:00
Multi-db fixes
This commit is contained in:
parent
44e477a9e1
commit
9a3a81f152
@ -41,9 +41,6 @@ class DatabaseLookup
|
|||||||
LookupInvitation::setServerByField('invitation_key', $key);
|
LookupInvitation::setServerByField('invitation_key', $key);
|
||||||
} elseif ($key = request()->contact_key ?: session('contact_key')) {
|
} elseif ($key = request()->contact_key ?: session('contact_key')) {
|
||||||
LookupContact::setServerByField('contact_key', $key);
|
LookupContact::setServerByField('contact_key', $key);
|
||||||
} else {
|
|
||||||
Auth::logout();
|
|
||||||
return redirect('/client/sessionexpired');
|
|
||||||
}
|
}
|
||||||
} elseif ($guard == 'postmark') {
|
} elseif ($guard == 'postmark') {
|
||||||
LookupInvitation::setServerByField('message_id', request()->MessageID);
|
LookupInvitation::setServerByField('message_id', request()->MessageID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user