Skip to content

Commit edf8c77

Browse files
zbmowreysilverbux
authored andcommitted
Fix oauth_provider and oauth_provider_id being set to null (silverbux#77)
* Fix oauth_provider and oauth_provider_id being set to null Current User model sets oauth_provider and provider_id to null, rather than expected values; this situation prevents repeat log-in using any oauth method (creates a user with no password and no oauth_provider). This patch resolves. * Update for CI check Updating initial pull request
1 parent 0508ebf commit edf8c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
2222
* @var array
2323
*/
2424
protected $fillable = [
25-
'name', 'email', 'password', 'avatar',
25+
'name', 'email', 'password', 'avatar', 'oauth_provider', 'oauth_provider_id',
2626
];
2727

2828
/**

0 commit comments

Comments
 (0)