Level 3
Fixed it . i removed bcrypt(password) in data base save records.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to give full permission to admin user to change the student's password
Screenshot - https://snipboard.io/U6Om9j.jpg
Unfortunately password is modified. but User cannot login in the system .it says "Invalid Password"
$user = User::find($id);
$modifyPassword = $request->modifyPassword;
//Modify Password Validation
if (!isset($modifyPassword)) {
$password = $user->password;
} else {
$password = Hash::make($modifyPassword);
}
....
User::updateOrCreate(['id' => $id], $saveData);
Fixed it . i removed bcrypt(password) in data base save records.
Please or to participate in this conversation.