Merged in feature/eula.part1 (pull request #206)

eula support

* eula support

* docs
This commit is contained in:
Jay Brown
2026-01-22 18:17:27 +00:00
parent c10fa98d0a
commit 63c12a2f44
38 changed files with 15646 additions and 230 deletions
+2 -1
View File
@@ -36,9 +36,10 @@ func getAdminUserForAudit(ctx echo.Context) (cognitoauth.UserInfo, error) {
}
// If auth is disabled, use a default system user for audit logging
// Note: Email must be a valid format (with TLD) to pass openapi_types.Email validation
if os.Getenv("DISABLE_AUTH") == "true" {
return cognitoauth.UserInfo{
Email: "system@localhost",
Email: "system@test.local",
Username: "system",
Groups: []string{"admin"},
}, nil