Commit Diff


commit - feed2f04285a74e82b654fd7c88af107c634e279
commit + 191805fa2bbb70d3a6e466018bfd600d490937e6
blob - 0da1c15eadd2a4ad7c3404ce823172c580c9e174
blob + 026d2df8f880aa7d4d7b0fe8d64f270ecdd9d540
--- password.php
+++ password.php
@@ -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'];