|
@@ -73,8 +73,8 @@ discard block |
|
|
block discarded – undo |
|
73
|
73
|
"options" => ["table" => "cms_roles", "field_value" => "id", "field_label" => 'name'], |
|
74
|
74
|
'required' => true, |
|
75
|
75
|
]; |
|
76
|
|
- $this->form[] = array("label"=>"Password","name"=>"password","type"=>"password","help"=>"Please leave empty if not change"); |
|
77
|
|
- $this->form[] = array("label"=>"Password Confirmation","name"=>"password_confirmation","type"=>"password","help"=>"Please leave empty if not change"); |
|
|
76
|
+ $this->form[] = array("label"=>"Password", "name"=>"password", "type"=>"password", "help"=>"Please leave empty if not change"); |
|
|
77
|
+ $this->form[] = array("label"=>"Password Confirmation", "name"=>"password_confirmation", "type"=>"password", "help"=>"Please leave empty if not change"); |
|
78
|
78
|
|
|
79
|
79
|
# END FORM DO NOT REMOVE THIS LINE |
|
80
|
80
|
} |
|
@@ -101,7 +101,7 @@ discard block |
|
|
block discarded – undo |
|
101
|
101
|
$this->button_save = true; |
|
102
|
102
|
# END CONFIGURATION DO NOT REMOVE THIS LINE |
|
103
|
103
|
} |
|
104
|
|
- public function hook_before_edit(&$postdata,$id) { |
|
|
104
|
+ public function hook_before_edit(&$postdata, $id) { |
|
105
|
105
|
unset($postdata['password_confirmation']); |
|
106
|
106
|
} |
|
107
|
107
|
public function hook_before_add(&$postdata) { |
Please login to merge, or discard this patch.