everybody, I need to save old user password in old_password in users table
So i did
protected function old_passwords($user, $password)
{
$old_password = $user->password;
$user->old_passwords =$old_password;
$user->save();
}
My Route
Route::post('/password/reset/{token}', 'Auth\ResetPasswordController@old_passwords');
but nothing happens any help
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire