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
|
@ -24,8 +24,8 @@ function CreateDB () {
|
|||
})
|
||||
|
||||
try {
|
||||
if (utils.FileExists('../dbUsers/keys')) {
|
||||
const uids = utils.ReadFile('../dbUsers/keys').split('\n')
|
||||
if (utils.FileExists('./ids')) {
|
||||
const uids = utils.ReadFile('./ids').split('\n')
|
||||
|
||||
uids.forEach((cid, i) => {
|
||||
if (!cid) { return }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue