mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
auth fixes
This commit is contained in:
parent
5fff6b9bba
commit
e4af391d04
5 changed files with 39 additions and 52 deletions
|
@ -47,7 +47,7 @@
|
|||
font-size: 16px;
|
||||
color: white;
|
||||
background-color: #181a1b;
|
||||
width: 300px;;
|
||||
width: 360px;;
|
||||
padding: 12px 20px;
|
||||
margin: 8px 0;
|
||||
box-sizing: border-box;
|
||||
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
<div id='form'>
|
||||
<div class='inputContainer'>
|
||||
<input type='password' placeholder='Jelszó' onkeyup="PWKeyUp(this)" type='text' id='pw' name='pw' autocomplete="off" autofocus/>
|
||||
<input type='text' placeholder='Jelszó' onkeyup="PWKeyUp(this)" type='text' id='pw' name='pw' autocomplete="off" autofocus/>
|
||||
<input type='hidden' id='cid' name='pw' autocomplete="off"/>
|
||||
</div>
|
||||
<button id='sendButton' onclick="Login(this)">Belépés</button>
|
||||
|
@ -130,7 +130,7 @@
|
|||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
pw: document.getElementById('pw').value,
|
||||
pw: document.getElementById('pw').value.trim(),
|
||||
cid: document.getElementById('cid').value
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue