Logging req on undefined req.hostname, added exceptions to qmining auth, login screen autofocus input

This commit is contained in:
MrFry 2020-04-15 19:35:35 +02:00
parent cda0d31827
commit 03751182bf
5 changed files with 7 additions and 3 deletions

View file

@ -16,6 +16,8 @@ module.exports = function (options) {
hostname = req.hostname.replace('www.', '').split('.')[0] hostname = req.hostname.replace('www.', '').split('.')[0]
} else { } else {
logger.Log('Hostname is undefined!', logger.GetColor('redbg')) logger.Log('Hostname is undefined!', logger.GetColor('redbg'))
console.log(req.body)
console.log(req.query)
} }
// fixme: regexp includes checking // fixme: regexp includes checking

@ -1 +1 @@
Subproject commit 98ec8c4a89af4e986ea608946d27ed25760858f9 Subproject commit e93c320ee3cba0e8bd040fcf38bd531af3b438c2

View file

@ -59,6 +59,8 @@ function GetApp () {
jsonResponse: false, jsonResponse: false,
exceptions: [ exceptions: [
'/thanks', '/thanks',
'/thanks.html',
'/img/thanks.gif',
'/install', '/install',
'/favicon.ico', '/favicon.ico',
'/getVeteranPw', '/getVeteranPw',

@ -1 +1 @@
Subproject commit f8d4bf2a414d2973582c08bfa8b8b8f19389b2e9 Subproject commit 2c815c8d20b6c25a4214d6118760d993f2287f36

View file

@ -101,7 +101,7 @@
</div> </div>
<div id='form'> <div id='form'>
<div class='inputContainer'> <div class='inputContainer'>
<input type='text' id='pw' name='pw' autocomplete="off"/> <input type='text' id='pw' name='pw' autocomplete="off" autofocus/>
<input type='hidden' id='cid' name='pw' autocomplete="off"/> <input type='hidden' id='cid' name='pw' autocomplete="off"/>
</div> </div>
<div class='ircLinkContainer' > <div class='ircLinkContainer' >