Closed r3nfolly closed 1 year ago
I have the same question, I would like to know how to add a list of users from a file and have the program update them without having to restart
I have not been able to modify the code to load users from outside but I have found another solution that is not bad either, I have created a script that reads the users from a text file and then creates the TinfoilWebServer.config.json file with the updated list of users, it also shows you the total number of allowed users and scans the list every 10 minutes to update. I can pass the code if the creator agrees
Myster, pleaseeeee, allow matrixjaen to update this for us. pleaseeeeeeeeeeeeeeeeeee
I made a python script that modifies the config.JSON. It adds users to the config and the application already adds them without a restart. Even shows up in the logs as it runs.
Hey Myster, please, don't forget about us.
Thanks
What is exactly the point here ? You want a separate file for declaring allowed users, instead of everything in the TinfoilWebServer.config.json ?
Yes, have an external file for more users, to be easier to modify, like a .csv or xls maybe, I don't know if is possible. If the WebServer config can read the file every few minutes.
I propose the following solution, would it be ok for you?
1.6.0 should do the trick for you.
Hello Myster.
Is it possible to have the user's session on an external file? .csv or any other format?
Thanks