summaryrefslogtreecommitdiff
path: root/internal/server/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/handlers.go')
-rw-r--r--internal/server/handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/handlers.go b/internal/server/handlers.go
index 8de19c571..8e16872d6 100644
--- a/internal/server/handlers.go
+++ b/internal/server/handlers.go
@@ -252,6 +252,7 @@ func handleRouter(config *schema.Configuration, providers middlewares.Providers)
delayFunc := middlewares.TimingAttackDelay(10, 250, 85, time.Second, true)
r.POST("/api/firstfactor", middlewareAPI(handlers.FirstFactorPOST(delayFunc)))
+ r.POST("/api/firstfactor/reauthenticate", middleware1FA(handlers.FirstFactorReauthenticatePOST(delayFunc)))
r.POST("/api/logout", middlewareAPI(handlers.LogoutPOST))
// Only register endpoints if forgot password is not disabled.