summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-17 17:05:37 +0800
committerUnknwon <u@gogs.io>2015-08-17 17:05:37 +0800
commit407385db7eae3ccdef235ac68273364bd704d0bd (patch)
treec32c26581325a5a3abbe78c110634624fa54e330 /modules/auth/auth.go
parent875f9177713232350b34767fdc87bb15fd417813 (diff)
downloadgitea-407385db7eae3ccdef235ac68273364bd704d0bd.tar.gz
gitea-407385db7eae3ccdef235ac68273364bd704d0bd.zip
work on #1493
Diffstat (limited to 'modules/auth/auth.go')
-rw-r--r--modules/auth/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 92bcd72080..3898083266 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -44,7 +44,7 @@ func SignedInId(req *http.Request, sess session.Store) int64 {
}
return 0
}
- return t.Uid
+ return t.UID
}
}
}