summaryrefslogtreecommitdiff
path: root/internal/handlers/response.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-12-29 10:28:45 +1100
committerGitHub <noreply@github.com>2023-12-29 10:28:45 +1100
commit81c150c621211e6a6ffc787f58a2f6427bb4ccf7 (patch)
tree7dd98aa69f4d3c7f052c79582c3d12bc22d1ec31 /internal/handlers/response.go
parent7a9737381fae92ce619b757dbd539c1f2aed3a75 (diff)
refactor: rule policy log message string instead of integer (#6473)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/handlers/response.go')
-rw-r--r--internal/handlers/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/response.go b/internal/handlers/response.go
index 206d14bda..1736dc6e8 100644
--- a/internal/handlers/response.go
+++ b/internal/handlers/response.go
@@ -50,7 +50,7 @@ func Handle1FAResponse(ctx *middlewares.AutheliaCtx, targetURI, requestMethod st
},
authorization.NewObject(targetURL, requestMethod))
- ctx.Logger.Debugf("Required level for the URL %s is %d", targetURI, requiredLevel)
+ ctx.Logger.Debugf("Required level for the URL %s is %s", targetURI, requiredLevel)
if requiredLevel == authorization.TwoFactor {
ctx.Logger.Warnf("%s requires 2FA, cannot be redirected yet", targetURI)