diff options
Diffstat (limited to 'internal/handlers/handler_user_info.go')
| -rw-r--r-- | internal/handlers/handler_user_info.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_user_info.go b/internal/handlers/handler_user_info.go index 05a277901..7f6dc4d3b 100644 --- a/internal/handlers/handler_user_info.go +++ b/internal/handlers/handler_user_info.go @@ -76,7 +76,7 @@ func UserInfoGet(ctx *middlewares.AutheliaCtx) { ctx.Error(fmt.Errorf("Unable to load user information"), operationFailedMessage) return } - ctx.SetJSONBody(preferences) + ctx.SetJSONBody(preferences) //nolint:errcheck // TODO: Legacy code, consider refactoring time permitting. } // MethodBody the selected 2FA method. |
