mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 08:48:37 +00:00
Bug fix
This commit is contained in:
1
web.go
1
web.go
@@ -59,6 +59,7 @@ func runWeb(*cli.Context) {
|
||||
// Routers.
|
||||
m.Get("/", routers.Home)
|
||||
m.Any("/user/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn)
|
||||
m.Any("/user/logout", user.SignOut)
|
||||
m.Any("/user/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
|
||||
|
||||
m.Get("/user/profile", user.Profile) // should be /username
|
||||
|
Reference in New Issue
Block a user