Create a separate logged-in user toolbar #3
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?
Currently the authentication mechanism is strewn throughout the script.js and index.html. Instead, it would be better to separate out this concern as a separate file,
auth.jsand to create a separate out another HTML file,auth.html, which contains the UI for the current user information and the logout button.To do this, it's probably a good idea to add jinja2 for server-side rendering. It has the ability to create nice, smaller, separate components that can include each other.
The reason why you did the authentication logic was because you thought it was to difficult for me to do, and now you want me to do the logic myself?