summaryrefslogtreecommitdiffstats
path: root/modules/middleware/context.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 23:53:16 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 23:53:16 -0400
commit98131614119f39a3f341392c98a4d2320b5b8e21 (patch)
tree041d90457cd9213d6214faca4001af5a849bbe90 /modules/middleware/context.go
parent5e8138341357f367868a32b631495c9d5a286477 (diff)
downloadgitea-98131614119f39a3f341392c98a4d2320b5b8e21.tar.gz
gitea-98131614119f39a3f341392c98a4d2320b5b8e21.zip
Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r--modules/middleware/context.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go
index 463d9ba980..ee203b762d 100644
--- a/modules/middleware/context.go
+++ b/modules/middleware/context.go
@@ -220,8 +220,6 @@ func Contexter() macaron.Handler {
ctx.IsSigned = true
ctx.Data["IsSigned"] = ctx.IsSigned
ctx.Data["SignedUser"] = ctx.User
- ctx.Data["SignedUserId"] = ctx.User.Id
- ctx.Data["SignedUserName"] = ctx.User.Name
ctx.Data["IsAdmin"] = ctx.User.IsAdmin
}