generate random user id #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lucas/grugchat#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.