modifié : SRC/app/Http/Controllers/LoginController.php
This commit is contained in:
parent
4d24af0134
commit
9204faf4aa
@ -94,7 +94,7 @@ class LoginController extends Controller {
|
|||||||
$credentials = Input::only('email', 'password','password_confirmation','token');
|
$credentials = Input::only('email', 'password','password_confirmation','token');
|
||||||
$response = Password::reset($credentials, function($user, $password)
|
$response = Password::reset($credentials, function($user, $password)
|
||||||
{
|
{
|
||||||
$user->password = Hash::make($password);
|
$user->motdepasse = Hash::make($password);
|
||||||
$user->save();
|
$user->save();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user