strip domain from SESSID_USERNAME
This commit is contained in:
parent
feed2f0428
commit
191805fa2b
|
@ -69,7 +69,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
|||
$sth->bindParam(1, $hashed, PDO::PARAM_STR);
|
||||
$sth->bindParam(2, $username, PDO::PARAM_STR);
|
||||
$sth->execute();
|
||||
logging($SESSID_USERNAME, $domain, $LANG['Logging_password_change'], $username);
|
||||
logging($SESSID_USERNAME, substr(strrchr($SESSID_USERNAME, "@"), 1), $LANG['Logging_password_change'], $username);
|
||||
$message = $LANG['Password_result_succes'];
|
||||
} catch(PDOException $e) {
|
||||
$message = $LANG['Password_result_error'];
|
||||
|
|
Loading…
Reference in New Issue