notes
All repositories: gitoria
742 B
// components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK (notes#1). The login button's return (project.hl loginCallback, a function route: it must answer with a// redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.parent './main.hl'import { siteName } from '../project.hl'session = nullwhy = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'mainHref = '/'__title = 'Login failed · ' + siteNameView {noteReader {h1 { id = "loginfailed" "Login failed" }p { id = "error" class = "message" why }p { a { id = "home" href = mainHref "back to notes" } }}}
Branches
- mainmain branch
Latest commits
- 2bebebdanotes: Hybriel master ff51cf46 (re-vendor round)mre
- 3eff126dnotes#3: installable app (manifest + own icon/favicon; notes' own sw.js kept)mre
- 9883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- eee693b8deploy.sh: never send .git or .gitignore to Byrodinmre
- c8904061State of 2026-09-27, before the move to gitoriamre