You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm working on admin form for MythAuth where user password can be changed. The form also updated other user data. So requirement for changing password is to enter current password in cases where password is not being changed it should be possible to submit the form with empty current password so I have validation rules it the following format
Describe the bug
I'm working on admin form for MythAuth where user password can be changed. The form also updated other user data. So requirement for changing password is to enter current password in cases where password is not being changed it should be possible to submit the form with empty current password so I have validation rules it the following format
This makes validation pass when currentPassword is empty and newPassword is set which should not be possible
CodeIgniter 4 version
git - 85cd56a
Affected module(s)
Validation Library
Expected behaviour, and steps to reproduce if appropriate
If newPassword is not empty validation should not pass with empty currentPassword field.
Context
The text was updated successfully, but these errors were encountered: