aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-30 17:03:00 +0800
committerslene <vslene@gmail.com>2014-03-30 17:03:00 +0800
commit4c70249f75a8fd2a7962c9c6c0d6fec13e7f2192 (patch)
tree3c5c1cac24081bcdb7bc0e65f9d21b2cb4d7e4e6 /modules
parent816bb0872003eaded2ad7a725f8448025b1b2ee0 (diff)
fix some link
Diffstat (limited to 'modules')
-rw-r--r--modules/middleware/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go
index a6aa58ee..5f1d42b1 100644
--- a/modules/middleware/context.go
+++ b/modules/middleware/context.go
@@ -269,7 +269,7 @@ func InitContext() martini.Handler {
if user != nil {
ctx.Data["SignedUser"] = user
ctx.Data["SignedUserId"] = user.Id
- ctx.Data["SignedUserName"] = user.LowerName
+ ctx.Data["SignedUserName"] = user.Name
ctx.Data["IsAdmin"] = ctx.User.IsAdmin
}