Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
fix end points disabling config (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
yk-eukarya authored Mar 18, 2022
1 parent f4cc3f9 commit 690a914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func initEcho(ctx context.Context, cfg *ServerConfig) *echo.Echo {
// apis
api := e.Group("/api")
api.GET("/ping", Ping())
if cfg.Config.AuthSrv.Disabled {
if !cfg.Config.AuthSrv.Disabled {
api.POST("/signup", Signup())
api.POST("/signup/verify", StartSignupVerify())
api.POST("/signup/verify/:code", SignupVerify())
Expand Down

0 comments on commit 690a914

Please sign in to comment.