From 98131614119f39a3f341392c98a4d2320b5b8e21 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 26 Jul 2014 23:53:16 -0400 Subject: Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page --- modules/middleware/context.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/middleware/context.go') 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 } -- cgit v1.2.3