Skip to content

Commit 3d75a4a

Browse files
committed
Fix bug getting github login meta data
1 parent 2d819f5 commit 3d75a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func GetMetaInfo() model.Meta {
1111
return model.Meta{
1212
Version: constants.VERSION,
1313
IsGoogleLoginEnabled: constants.GOOGLE_CLIENT_ID != "" && constants.GOOGLE_CLIENT_SECRET != "",
14-
IsGithubLoginEnabled: constants.GITHUB_CLIENT_ID != "" && constants.GOOGLE_CLIENT_SECRET != "",
14+
IsGithubLoginEnabled: constants.GITHUB_CLIENT_ID != "" && constants.GITHUB_CLIENT_SECRET != "",
1515
IsFacebookLoginEnabled: constants.FACEBOOK_CLIENT_ID != "" && constants.FACEBOOK_CLIENT_SECRET != "",
1616
IsBasicAuthenticationEnabled: !constants.DISABLE_BASIC_AUTHENTICATION,
1717
IsEmailVerificationEnabled: !constants.DISABLE_EMAIL_VERIFICATION,

0 commit comments

Comments
 (0)