mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fix for logging in on site and with script
This commit is contained in:
parent
a6d260f6af
commit
fa4b29efe6
6 changed files with 26 additions and 9 deletions
modules/qmining
|
@ -178,7 +178,7 @@ function GetApp () {
|
|||
|
||||
app.get('/getVeteranPw', function (req, res) {
|
||||
res.render('veteranPw', {
|
||||
cid: req.query.cid
|
||||
cid: req.query.cid || ''
|
||||
})
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
|
|
@ -70,12 +70,12 @@
|
|||
Frylabs
|
||||
</div>
|
||||
<div id='text' class='text'>
|
||||
Másold be ide régi kliens ID-d, és az alapján jelszót ad. Ezt csak egyszer teheted meg, a
|
||||
Másold be ide régi kliens ID-d, és az alapján jelszót kapsz. Ezt csak egyszer teheted meg, a
|
||||
kapott jelszót tuti helyre írd le!
|
||||
</div>
|
||||
<div id='form'>
|
||||
<div class='inputContainer'>
|
||||
<input type='text' id='cid' name='pw' autocomplete="off"/>
|
||||
<input type='text' id='cid' name='pw' value=<%= cid %> autocomplete="off"/>
|
||||
</div>
|
||||
<input type='hidden' name='redirect' value='asd' autocomplete="off"/>
|
||||
<button id='sendButton' onclick="GetVeteranPW(this)">Submit</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue