Handle missing SECRET in auth flow
Lint / Lint (push) Successful in 44s
Tests / Go backend (push) Successful in 39s
Docker / Docker Build & Push (push) Successful in 3m30s
Tests / Dashboard checks (push) Successful in 46s

This commit is contained in:
Gabriel20xx committed 2026-09-15 23:27:42 +02:00
1 parent 07e25a3cf3
commit eb67f251d8
4 files changed
+43 -7

No files matched your search

+1
View File
@@ -117,6 +117,7 @@ func newAuthService(database *DB, authGuardURL string, secureCookies bool, authD
if authDisabled {
opts = append(opts, sharedauth.Disabled())
}
opts = append(opts, sharedauth.RequireSecret())
return sharedauth.NewWithStore(collabTableAuthStore{db: database}, legacySessionCookieName, secureCookies, authGuardURL, "collabtable", opts...)
}