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

composer format

This commit is contained in:
David Goodwin
2020-09-25 21:33:26 +01:00
parent b868f950bf
commit 7107e17c4c
11 changed files with 46 additions and 108 deletions

View File

@ -80,9 +80,8 @@ class AdminpasswordHandler extends PFAHandler {
* check if old password is correct
*/
protected function _validate_oldpass($field, $val) {
$l = new Login('admin', 'username');
if($l->login($this->id, $val)) {
if ($l->login($this->id, $val)) {
return true;
}