mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for Linkedin ouath
This commit is contained in:
parent
751e48eb0c
commit
6e757a6a6d
@ -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