mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-02 16:35:19 +02:00
Bug fix
This commit is contained in:
parent
56a7ab4da5
commit
90223dcfc4
5 changed files with 29 additions and 10 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue