0.2.65 - End Credits wiring / Gateway: 0.1.45 - Credits

This commit is contained in:
ponzischeme89
2026-08-15 21:11:43 +12:00
parent d5d47473a2
commit e528d04b43
19 changed files with 574 additions and 65 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ func (s *Server) handleAdminConsole(w http.ResponseWriter, r *http.Request) {
_, _ = w.Write([]byte(adminUnavailablePage))
return
}
if !s.validInstallerSession(r) {
if !s.validAdminSession(r) {
// The sign-in form is still the gateway's, server-rendered, and returns to
// wherever the operator was trying to go. It is deliberately not part of the SPA:
// a login page that has to be downloaded from the thing it guards is one more
@@ -109,7 +109,7 @@ func (s *Server) handleAdminConsole(w http.ResponseWriter, r *http.Request) {
s.renderAccessLogin(w, r, "", http.StatusOK, r.URL.Path)
return
}
// Opening a page is somebody at the keyboard, so it starts the twelve-hour clock again.
// Opening a page is somebody at the keyboard, so it starts the clock again.
s.renewAdminSession(w, r)
s.setAdminTokenCookie(w, r)
preventDiscovery(w)