You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-31 10:04:20 +03:00
composer format
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user