Skip to content

Commit

Permalink
Fix New Confirm Password field issue tastyigniter/TastyIgniter#995
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jun 30, 2022
1 parent 516ae4f commit 3d22e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function onUpdate()
$rules = [
['first_name', 'lang:igniter.user::default.settings.label_first_name', 'required|between:1,48'],
['last_name', 'lang:igniter.user::default.settings.label_last_name', 'required|between:1,48'],
['old_password', 'lang:igniter.user::default.settings.label_email', 'sometimes'],
['old_password', 'lang:igniter.user::default.settings.label_old_password', 'required_with:new_password'],
['new_password', 'lang:igniter.user::default.settings.label_password', 'required_with:old_password|min:6|max:32|same:confirm_new_password'],
['confirm_new_password', 'lang:igniter.user::default.settings.label_password_confirm', 'required_with:old_password'],
['telephone', 'lang:igniter.user::default.settings.label_telephone', 'required'],
Expand Down

0 comments on commit 3d22e8a

Please sign in to comment.