generate random user id #1

Closed
opened 2026-03-21 12:41:14 +01:00 by lucas · 1 comment
Owner

to make it useful, generate a random user ID on page load, so you can see who sent what message.

ideally, display it somewhere too

to make it useful, generate a random user ID on page load, so you can see who sent what message. ideally, display it somewhere too
Author
Owner

done, with bonus feature to even adjust the name!

it is saved in browser's localstorage and the Go process checks the HTTP header "Remote-User". once it's behind authelia that will handle it, but for now the frontend can set whatever username it wants.

done, with bonus feature to even adjust the name! it is saved in browser's localstorage and the Go process checks the HTTP header "Remote-User". once it's behind authelia that will handle it, but for now the frontend can set whatever username it wants.
lucas closed this issue 2026-03-22 20:53:28 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lucas/grugchat#1
No description provided.