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
Copy file name to clipboardExpand all lines: components/Account.php
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,12 @@ public function defineProperties()
55
55
'type' => 'checkbox',
56
56
'default' => 0
57
57
],
58
+
'requirePassword' => [
59
+
'title' => /*Confirm password on update*/'rainlab.user::lang.account.update_requires_password',
60
+
'description' => /*Require the current password of the user when changing their profile.*/'rainlab.user::lang.account.update_requires_password_comment',
61
+
'type' => 'checkbox',
62
+
'default' => 0
63
+
],
58
64
];
59
65
}
60
66
@@ -146,7 +152,7 @@ public function loginAttributeLabel()
0 commit comments