mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Multi-db fixes
This commit is contained in:
parent
474790df69
commit
9ebaf01c4f
@ -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