1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

remove psalm warnings from code; fix password_expiry behaviour when enabled/disabled on MySQL

This commit is contained in:
David Goodwin
2018-12-28 19:27:33 +00:00
parent d74b276192
commit 19cda31849
9 changed files with 302 additions and 219 deletions

View File

@ -9,11 +9,11 @@ class AdminpasswordHandler extends PFAHandler {
protected $skip_empty_pass = false;
protected function no_domain_field() {
# PFAHandler die()s if domain field is not set. Disable this behaviour for AdminHandler.
return true;
}
protected function validate_new_id() {
# unused in AdminpasswordHandler, but must be defined
return true;
}
# init $this->struct, $this->db_table and $this->id_field