✏️ 正在编辑: UserProfile.php
路径:
/srv/systems_dir/koruspay/application/forms/UserProfile.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class Form_UserProfile extends Form_User { public function init() { parent::init(); $this->removeElement('disabled'); $this->removeElement('company_id'); $element = $this->getElement('password'); $element->addValidators([new Validators_PasswordStrength()]); $element->setRequired(false); $this->getElement('email') ->setAttrib('disabled', true) ->setRequired(false); $this->removeElement('back'); $this->removeElement('new'); } }
💾 保存文件
← 返回文件管理器