unauthorized dialog - BevvyTech/BrewskiDocs GitHub Wiki
- Displays when the client dispatches the
brewski:unauthorized event after a 401 so users understand their session expired.
- Locks the rest of the UI until the dialog is dismissed or the user re-authenticates, preventing partially authorized actions.
- Pre-fills the known e-mail address and blocks edits so users only supply a password for re-entry.
- Cancel closes the dialog and keeps the user signed out; the app stays in a read-only state until a fresh login occurs.
- Submitting triggers
authService.login with the pre-filled e-mail and entered password; success updates the auth context and hides the dialog.
- Validation surfaces translated errors for missing credentials, invalid password, or unexpected failures.
- The center branding now uses
/images/brewski-clear.png so the sign-out prompt matches the current marketing mark.
- The brand image is constrained to a 48 px height (
h-12 w-auto) and carries 44 px bottom margin to respect modal spacing guidance for Admin dialogs.
⚠️ **GitHub.com Fallback** ⚠️