gitoriaLog in with ident

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit76edaa6276edaa62calendar: Hybriel master ff51cf46 (re-vendor round, static workaround removed)mre76edaa62/components/loginfailed.hl

753 B

  1. // components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK (calendar#2). 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. loginFailed {
  11. h1 { id = "loginfailed" "Login failed" }
  12. p { id = "error" class = "message" why }
  13. p { a { id = "home" href = mainHref "back to the calendar" } }
  14. }
  15. }

Branches

Latest commits

  • 76edaa62calendar: Hybriel master ff51cf46 (re-vendor round, static workaround removed)mre
  • 90a3fc2cdeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • 6722b72ddeploy.sh: never send .git or .gitignore to Byrodinmre
  • be099807State of 2026-09-27, before the move to gitoriamre