mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
Finish log in user
This commit is contained in:
3
web.go
3
web.go
@@ -58,8 +58,7 @@ func runWeb(*cli.Context) {
|
||||
|
||||
// Routers.
|
||||
m.Get("/", routers.Home)
|
||||
m.Any("/user/login", user.SignIn)
|
||||
|
||||
m.Any("/user/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn)
|
||||
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