I want to use the in-built uncompromised function stated in the documentation, but it does not seem to be working. Below is my code snippet.
$request->validate([
'current_password' => 'required', Password::min(4)->uncompromised(),
]);
I tested with various combinations and found that while min(4) is working, uncompromised is not.
Any one else facing this? I am also hosting the server locally if it matters.
New contributor
xyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.