summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_sign_duo.go
diff options
context:
space:
mode:
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)