From a0c07241c04d2488b675bdcc54b3a845580db029 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Wed, 24 Sep 2025 11:47:14 +0200 Subject: minor changes --- web/controller/index.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/controller') diff --git a/web/controller/index.go b/web/controller/index.go index 89de710b..5f9e1c2c 100644 --- a/web/controller/index.go +++ b/web/controller/index.go @@ -39,8 +39,9 @@ func NewIndexController(g *gin.RouterGroup) *IndexController { // initRouter sets up the routes for index, login, logout, and two-factor authentication. func (a *IndexController) initRouter(g *gin.RouterGroup) { g.GET("/", a.index) - g.POST("/login", a.login) g.GET("/logout", a.logout) + + g.POST("/login", a.login) g.POST("/getTwoFactorEnable", a.getTwoFactorEnable) } -- cgit v1.2.3