Merged in bug/eula-email (pull request #212)

fix eula issue when email not present in jwt

* bug fix
This commit is contained in:
Jay Brown
2026-02-26 21:46:00 +00:00
parent c668485e6f
commit 62b5de5722
7 changed files with 648 additions and 312 deletions
-1
View File
@@ -36,7 +36,6 @@ 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@test.local",