fix: harden login for MLPS requirements
This commit is contained in:
@@ -13,6 +13,7 @@ func RegisterRoutes(app *bootstrap.App) {
|
||||
|
||||
authAPI := app.Engine.Group("/api/auth")
|
||||
authHandler := NewAuthHandler(app)
|
||||
authAPI.GET("/password-key", authHandler.PasswordPublicKey)
|
||||
authAPI.POST("/login", authHandler.Login)
|
||||
authAPI.POST("/refresh", authHandler.Refresh)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user