mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Not deleting existing sessions till there are 3 of them, logging news.json, login feedback text update
This commit is contained in:
parent
18d181bd31
commit
82eca473e8
4 changed files with 4 additions and 4 deletions
|
@ -597,7 +597,7 @@ function GetApp() {
|
|||
isScript: isScript ? 1 : 0,
|
||||
})
|
||||
|
||||
if (existingSessions.length > 0) {
|
||||
if (existingSessions.length > 2) {
|
||||
logger.Log(
|
||||
`Multiple ${isScript ? 'script' : 'website'} sessions ( ${
|
||||
existingSessions.length
|
||||
|
|
|
@ -132,7 +132,7 @@ const cookieSecret = uuidv4()
|
|||
app.use(cookieParser(cookieSecret))
|
||||
app.use(
|
||||
reqlogger({
|
||||
loggableKeywords: [],
|
||||
loggableKeywords: ['news.json'],
|
||||
loggableModules: ['dataeditor'],
|
||||
})
|
||||
)
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
function ShowFeedback () {
|
||||
const form = document.getElementById('form').style.display = "none";
|
||||
const feedback = document.getElementById('feedback').style.display = "block";
|
||||
document.getElementById('text').innerText = 'Ha szeretnél választ kapni akkor kérdésed mellé írd be e-mailed, vagy kattints a lenti "IRC" linkre. Jelszót meglévő felhasználóktól kérj! E-mail esetén válasz spam-be is érkezhet!'
|
||||
document.getElementById('text').innerText = 'Ha szeretnél választ kapni akkor IRC-n próbálj meg elérni (lenti link). Jelszót meglévő felhasználóktól kérj!'
|
||||
}
|
||||
function HandleResp (resp) {
|
||||
const button = document.getElementById('sendButton')
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit de5b4b72b6a85dd095db8610965cb543ec3548f8
|
||||
Subproject commit 0c69bf931ffd743a489a45ac24ce78e5bcb5644a
|
Loading…
Add table
Add a link
Reference in a new issue