gitoriaLog in with ident

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9883c5409883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre9883c540/components/loginfailed.hl

742 B

  1. // 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
  2. // redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.
  3. parent './main.hl'
  4. import { siteName } from '../project.hl'
  5. session = null
  6. why = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'
  7. mainHref = '/'
  8. __title = 'Login failed · ' + siteName
  9. View {
  10. noteReader {
  11. h1 { id = "loginfailed" "Login failed" }
  12. p { id = "error" class = "message" why }
  13. p { a { id = "home" href = mainHref "back to notes" } }
  14. }
  15. }

Branches

Latest commits

  • 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