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
/
models
/
models.go
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>
2018-12-18 16:46:50 -0500
committer
Unknwon <u@gogs.io>
2018-12-18 16:46:50 -0500
commit
657ea2686fd076c4baacc5293694c94f97c4fec3
(
patch
)
tree
172b201112c29b42799612f3c5ef26e49a58e95e
/
models/models.go
parent
311df9c521f05cdca880152e73dbed47afb74cde
(
diff
)
auth: coding style and glitches fixes for GitHub login source (#5340)
Diffstat
(limited to 'models/models.go')
-rw-r--r--
models/models.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 18931628..c4b60a0e 100644
--- a/
models/models.go
+++ b/
models/models.go
@@ -347,7 +347,7 @@ func ImportDatabase(dirPath string, verbose bool) (err error) {
case LOGIN_PAM:
bean.Cfg = new(PAMConfig)
case LOGIN_GITHUB:
- bean.Cfg = new(GITHUBConfig)
+ bean.Cfg = new(GitHubConfig)
default:
return fmt.Errorf("unrecognized login source type:: %v", tp)
}