mercredi 11 mai 2016

Sentinel register a user without password

I want to register a user using sentinel package, without setting a password, is it possible? if so how should i implement it?

here is the code i have tried.

$credentials = [
    'email'    => 'john.doe@example.com',
    'password' => null,
];

$user = Sentinel::registerAndActivate($credentials);

this will throws enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire