feat(auth): proper login page #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/login-page"
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?
Replaces the crude
prompt()/alert()login with a centered login form (email + password, inline error, loading state). The app UI is hidden behind abody.logged-outclass until authenticated.index.html: login card markupapp.js: view toggles, form submit handler, removed prompt flowapp.css: centered login view, hide sidebar/main when logged outCI lints on this branch; deploy runs on merge to main.
Reviewed the diff. Verified: imports still valid (signInWithPassword/getSession used by the new form handler, signOut by logout), the submit handler is bound once at init (the old prompt flow re-added a listener on every logout), and hiding the app via
body.logged-outis responsive-safe (doesn't override the sidebar'sd-md-block). Logout returns cleanly to the login screen. CI lint green. Merging.