Skip to content

Commit

Permalink
Sanitized username when showing user not found message.
Browse files Browse the repository at this point in the history
------
Saneado nombre de usuario al mostrar el mensaje de usuario no encontrado.
  • Loading branch information
NeoRazorX committed Apr 28, 2022
1 parent 298eb4b commit 73a6595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/App/AppController.php
Expand Up @@ -287,7 +287,7 @@ private function userAuth()
}

$this->ipWarning();
ToolBox::i18nLog()->warning('login-user-not-found', ['%nick%' => $nick]);
ToolBox::i18nLog()->warning('login-user-not-found', ['%nick%' => htmlspecialchars($nick)]);
return false;
}

Expand Down

0 comments on commit 73a6595

Please sign in to comment.