aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-07 17:08:21 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-07 17:08:21 -0500
commita2a59f8ad1192d3504abd50b2daf2ebfd97c86ca (patch)
treef18d38149410e483e5108da62512f32ca0c45a8a /modules/auth
parentba5c7ea7719abbef792e8b9897dcfadf4d54bbab (diff)
downloadgitea-a2a59f8ad1192d3504abd50b2daf2ebfd97c86ca.tar.gz
gitea-a2a59f8ad1192d3504abd50b2daf2ebfd97c86ca.zip
Change /user/profile URL to /user/:username
Diffstat (limited to 'modules/auth')
-rw-r--r--modules/auth/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user.go b/modules/auth/user.go
index 3a793f453d..e25593b737 100644
--- a/modules/auth/user.go
+++ b/modules/auth/user.go
@@ -69,7 +69,7 @@ func SignInRequire(redirect bool) martini.Handler {
data["IsSigned"] = true
data["SignedUserId"] = SignedInId(session)
data["SignedUserName"] = SignedInName(session)
- data["Avatar"] = SignedInUser(session).Avatar
+ data["SignedAvatar"] = SignedInUser(session).Avatar
}
}