优化了双因素认证的流程和页面

This commit is contained in:
dushixiang
2021-01-12 22:36:59 +08:00
parent 3bb7d2d49b
commit 4de18a6a81
5 changed files with 154 additions and 36 deletions

View File

@ -30,6 +30,7 @@ func SetupRoutes() *echo.Echo {
e.Use(Auth)
e.POST("/login", LoginEndpoint)
e.POST("/loginWithTotp", loginWithTotpEndpoint)
e.GET("/tunnel", TunEndpoint)
e.GET("/ssh", SSHEndpoint)