mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
added socialite provider for the user
This commit is contained in:
@@ -37,8 +37,9 @@ class CreateNewUserAction extends Controller
|
||||
|
||||
// Create user
|
||||
$user = User::create([
|
||||
'password' => ! $socialite_auth ? bcrypt($data['password']) : null,
|
||||
'email' => $data['email'],
|
||||
'password' => ! $socialite_auth ? bcrypt($data['password']) : null,
|
||||
'oauth_provider' => $socialite_auth ? $data->oauth_provider : null,
|
||||
'email' => $data['email'],
|
||||
]);
|
||||
|
||||
// Mark as verified if verification is disabled
|
||||
|
||||
Reference in New Issue
Block a user