-
How can I validate that the new password entered meets the requirements? |
Beta Was this translation helpful? Give feedback.
Answered by
caosdp-rs
Jul 4, 2022
Replies: 3 comments 1 reply
-
sample cde |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is this the best implementation? $passwords = service('passwords');
if(!$passwords->check('123456',$user)->isOK()){
print('Invalid password');
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
caosdp-rs
-
Maybe it’s not documented but you should be able to use the “strong_password” validation rule. I thinks that’s it. On mobile currently. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this the best implementation?