index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
auth
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2015-08-17 17:05:37 +0800
committer
Unknwon <u@gogs.io>
2015-08-17 17:05:37 +0800
commit
407385db7eae3ccdef235ac68273364bd704d0bd
(
patch
)
tree
c32c26581325a5a3abbe78c110634624fa54e330
/
modules/auth
parent
875f9177713232350b34767fdc87bb15fd417813
(
diff
)
work on #1493
Diffstat
(limited to 'modules/auth')
-rw-r--r--
modules/auth/auth.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 92bcd720..38980832 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
}
}
}