feat(auth): require changing default admin password (#778)

This commit is contained in:
h44z
2026-11-09 19:57:23 +01:00
committed by GitHub
parent 137286d46b
commit 276f120b60
30 changed files with 641 additions and 90 deletions
+2
View File
@@ -101,6 +101,8 @@ type Authenticator interface {
UserIdMatch(idParameter string) func(next http.Handler) http.Handler
// InfoOnly only add user info to the request context. No login check is performed.
InfoOnly() func(next http.Handler) http.Handler
// RequireNonDefaultPassword prohibits actions if the default admin password is still in use.
RequireNonDefaultPassword() func(next http.Handler) http.Handler
}
type Session interface {