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
Diffstat
(limited to 'modules/auth')
-rw-r--r--
modules/auth/auth.go
4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 2e4c80c5..7c4cfafc 100644
--- a/
modules/auth/auth.go
+++ b/
modules/auth/auth.go
@@ -55,8 +55,8 @@ func SignedInID(ctx *macaron.Context, sess session.Store) int64 {
return 0
}
t.Updated = time.Now()
- if err = models.UpdateAccessToekn(t); err != nil {
- log.Error(4, "UpdateAccessToekn: %v", err)
+ if err = models.UpdateAccessToken(t); err != nil {
+ log.Error(4, "UpdateAccessToken: %v", err)
}
return t.UID
}