This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

st4mp_
st4mp_

I'm building plugin based on Rainlab User plugin with login only via Google. I have this code for registering my users:

$password = Hash::make(uniqid(time()));
$user = Auth::register(
    array(
        'email' => $token_data['payload']['email'],
        'password' => $password,
        'password_confirmation' => $password,
), true);

But I keep getting "The password confirmation does not match.". In my User model I have copied rules from Rainlab version. What can cause this?

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.