aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-03 19:03:08 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-03 19:03:08 -0500
commite59f90b8fee3e615d1b60067bfc0d636606899d8 (patch)
treee37db19d1492235875259f34ed08506f74631270 /web.go
parentfea660f1d787f353f06632982861000c9078da2e (diff)
downloadgitea-e59f90b8fee3e615d1b60067bfc0d636606899d8.tar.gz
gitea-e59f90b8fee3e615d1b60067bfc0d636606899d8.zip
Update
Diffstat (limited to 'web.go')
-rw-r--r--web.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/web.go b/web.go
index 4fca90a298..ca3b4fcf1a 100644
--- a/web.go
+++ b/web.go
@@ -53,11 +53,9 @@ func runWeb(*cli.Context) {
// Routers.
m.Get("/", routers.Dashboard)
- m.Any("/login", user.SignIn)
- m.Any("/user/signin", user.SignIn)
+ m.Any("/user/login", user.SignIn)
- m.Any("/sign-up", user.SignUp)
- m.Any("/user/signup", user.SignUp)
+ m.Any("/user/sign_up", user.SignUp)
m.Get("/user/profile", user.Profile) // should be /username
m.Any("/user/delete", user.Delete)