Fix missing username in username_invalid message (#3135)

* Fix missing username in username_invalid message

Fix missing username in username_invalid message

* Fix missing username in username_invalid message 2

Fix missing username in username_invalid message
This commit is contained in:
Max 2019-11-11 08:19:22 +01:00 committed by André Peters
parent 36bd55ee5e
commit 852392fd15
2 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ function admin($_action, $_data = null) {
$_SESSION['return'][] = array( $_SESSION['return'][] = array(
'type' => 'danger', 'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_data_log), 'log' => array(__FUNCTION__, $_action, $_data_log),
'msg' => 'username_invalid' 'msg' => array('username_invalid', $username)
); );
return false; return false;
} }

View File

@ -35,7 +35,7 @@ function domain_admin($_action, $_data = null) {
$_SESSION['return'][] = array( $_SESSION['return'][] = array(
'type' => 'danger', 'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_data_log), 'log' => array(__FUNCTION__, $_action, $_data_log),
'msg' => 'username_invalid' 'msg' => array('username_invalid', $username)
); );
return false; return false;
} }