mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 20:01:06 -04:00
Fix for Linkedin ouath
This commit is contained in:
parent
4a55e26117
commit
8675b25d1e
@ -84,7 +84,8 @@ class LookupModel extends Eloquent
|
||||
|
||||
// check entity is found on the server
|
||||
if ($field === 'oauth_user_key') {
|
||||
list($providerId, $oauthId) = explode('-', $value);
|
||||
$providerId = substr($value, 0, 1);
|
||||
$oauthId = substr($value, 2);
|
||||
$isFound = $entity::where('oauth_provider_id', '=', $providerId)
|
||||
->where('oauth_user_id', '=', $oauthId)->first();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user