fix: save password correctly

This commit is contained in:
b1ek 2024-08-29 21:14:35 +10:00
parent 41e61d772e
commit 7cd5f1c4da
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ class PublicUserController extends Controller
return;
}
$user->password = Hash::make($request->input('password'));
$user = $user[0];
$user->password = Hash::make($request->input('new_pass'));
$user->save();
}
}