mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-30 22:54:32 -04:00
Catch and remove updates for oauth_provider_id
This commit is contained in:
parent
322f81bbab
commit
f557a93533
@ -62,7 +62,9 @@ class UserRepository extends BaseRepository
|
||||
// $account->num_users++;
|
||||
// $account->save();
|
||||
// }
|
||||
|
||||
if(array_key_exists('oauth_provider_id', $details))
|
||||
unset($details['oauth_provider_id']);
|
||||
|
||||
$user->fill($details);
|
||||
|
||||
//allow users to change only their passwords - not others!
|
||||
|
Loading…
x
Reference in New Issue
Block a user