Closed rzelnik closed 5 years ago
I am trying to implement the example code with default Laravel's "artisan make:auth" user management. This line:
$user = \App\User::createOrUpdateGraphNode($facebook_user);
... returns me an error message:
SQLSTATE[HY000]: General error: 1364 Field 'password' doesn't have a default value (SQL: insert into users (id, name, email, updated_at, created_at) values...
Update: solution found in the documentation: https://github.com/SammyK/LaravelFacebookSdk#getting-a-queryexception-when-saving-a-user I am closing this issue.
I am trying to implement the example code with default Laravel's "artisan make:auth" user management. This line:
$user = \App\User::createOrUpdateGraphNode($facebook_user);
... returns me an error message:
SQLSTATE[HY000]: General error: 1364 Field 'password' doesn't have a default value (SQL: insert into users (id, name, email, updated_at, created_at) values...