Camen Design Forum

Pre-created Members

append delete Burnt

Hello, I want to setup a tool for an online lecture, with pre-registered (but unique) users.
I was thinking to create (with a spreadsheet) a list of user-hashes, all the same simple password and copy this into members.txt
Would this work?

I was looking for a sample members text in the zip file, but there is none.

Reply RSS

Replies

append delete #1. Martijn

Users actually all get their own txt file in the users folder. You can of course chose to generate these yourself.

Every file in the users folder is an SHA-512 hash of the user name (lowercased) followed by `.txt`. The contents of the file should be the user’s password added to the back of the user name hash, and then again hashed with SHA-512.

Example code that creates a new user is here: https://github.com/Kroc/NoNonsenseForum/blob/e8a996c6cd3eb97c9de8762e3aa31b3b29508f93/start.php#L189-L198

append delete #2. Burnt

Understood, thanks.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn