summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_sign_duo.go
diff options
context:
space:
mode:
authorManuel Nuñez <10672208+mind-ar@users.noreply.github.com>2023-01-12 07:57:44 -0300
committerGitHub <noreply@github.com>2023-01-12 21:57:44 +1100
commit8b29cf7ee849fa39aa211912e95b777a64bed7e3 (patch)
tree3e1f759046426514840ae41e4a72be2dfb616ece /internal/handlers/handler_sign_duo.go
parentad1a8042fd66cedc71413201017b1f6d73f9a9be (diff)
feat(session): multiple session cookie domains (#3754)
This adds support to configure multiple session cookie domains. Closes #1198 Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com> Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
Diffstat (limited to 'internal/handlers/handler_sign_duo.go')
-rw-r--r--internal/handlers/handler_sign_duo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_sign_duo.go b/internal/handlers/handler_sign_duo.go
index 0ebe285b0..609edca76 100644
--- a/internal/handlers/handler_sign_duo.go
+++ b/internal/handlers/handler_sign_duo.go
@@ -246,7 +246,7 @@ func HandleAutoSelection(ctx *middlewares.AutheliaCtx, devices []DuoDevice, user
func HandleAllow(ctx *middlewares.AutheliaCtx, bodyJSON *bodySignDuoRequest) {
userSession := ctx.GetSession()
- err := ctx.Providers.SessionProvider.RegenerateSession(ctx.RequestCtx)
+ err := ctx.RegenerateSession()
if err != nil {
ctx.Logger.Errorf(logFmtErrSessionRegenerate, regulation.AuthTypeDuo, userSession.Username, err)