gitoriaLog in with ident

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit8bb97ffd8bb97ffddeploy.sh: never send .git or .gitignore to Byrodinmre8bb97ffd/components/loginfailed.hl

842 B

  1. // components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK (gitoria#16; was a hand-built HTML page in
  2. // project.hl). The login button's return (project.hl loginCallback, a function route: it must answer with a
  3. // redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.
  4. parent './main.hl'
  5. import { siteName } from '../project.hl'
  6. import { publicUrl } from '../users.hl'
  7. session = null
  8. why = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'
  9. mainHref = publicUrl + '/'
  10. __title = 'Login failed · ' + siteName
  11. View {
  12. repoPage {
  13. h1 { id = "loginfailed" "Login failed" }
  14. p { id = "error" class = "message" why }
  15. p { a { id = "home" href = mainHref "back to gitoria" } }
  16. }
  17. }

Branches

Latest commits

  • 8bb97ffddeploy.sh: never send .git or .gitignore to Byrodinmre
  • fd981932State of 2026-09-27; bin/ no longer tracked (Hybriel commit is in README)mre
  • 4a2d7125initial commitmre