Reputation: 1
I am trying to create user with Sentry, But with a my password field on users table as user_password.
$user = Sentry::createUser(array(
'full_name' => $input['name'],
'email' => $input['email'],
'user_password' => $input['password']
));
But it keeps on throwing the error,A password is required for user [@.com], none given.
And when I change user_password to password, it throws error, Column not found: 1054 Unknown column 'password' in 'field list'.
Upvotes: 0
Views: 558
Reputation:
try it
$user = Sentry::register(array(
'full_name' => $input['name'],
'email' => $input['email'],
'password' => $input['password']
));
Upvotes: 1