fix: save password correctly
This commit is contained in:
parent
41e61d772e
commit
7cd5f1c4da
|
@ -55,7 +55,8 @@ class PublicUserController extends Controller
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$user->password = Hash::make($request->input('password'));
|
$user = $user[0];
|
||||||
|
$user->password = Hash::make($request->input('new_pass'));
|
||||||
$user->save();
|
$user->save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue