This commit is contained in:
shoopea
2024-11-17 17:26:16 +01:00
parent d8cfb3cf00
commit 49417729ec
3 changed files with 7 additions and 6 deletions

View File

@@ -133,7 +133,8 @@ func (a *AdminConfig) Run() {
protected.GET("home", HttpAnyHome)
unprotected := r.Group("u", HttpNoAuth())
unprotected.POST("signin", HttpPostSignIn)
unprotected.GET("signin", HttpAnySignIn)
unprotected.POST("signin", HttpAnySignIn)
unprotected.GET("recover", HttpGetRecover)
srv := &http.Server{