mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Fixes for users
This commit is contained in:
parent
cf69b439c0
commit
87f63d07fc
@ -531,12 +531,12 @@ trait GenerateMigrationResources
|
||||
'first_name' => $user->first_name ?: '',
|
||||
'last_name' => $user->last_name ?: '',
|
||||
'phone' => $user->phone ?: '',
|
||||
'email' => $user->username,
|
||||
'email' => str_contains($user->username, "@") ? $user->username : $user->email,
|
||||
'confirmation_code' => $user->confirmation_code,
|
||||
'failed_logins' => $user->failed_logins,
|
||||
'referral_code' => $user->referral_code,
|
||||
'oauth_user_id' => $user->oauth_user_id,
|
||||
'oauth_provider_id' => $user->oauth_provider_id,
|
||||
// 'oauth_user_id' => $user->oauth_user_id,
|
||||
// 'oauth_provider_id' => $user->oauth_provider_id,
|
||||
'google_2fa_secret' => '',
|
||||
'accepted_terms_version' => $user->accepted_terms_version,
|
||||
'password' => $user->password,
|
||||
|
Loading…
Reference in New Issue
Block a user