This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Enable Libravatar by default in new installations (
#3287
)
Pre-existing installs still have it default to off. This is consistent with OpenID setting.
tags/v1.4.0-rc1
Sandro Santilli
Lauris BH
7 years ago
parent
b9ed8b29cb
commit
9d40f03f40
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/setting/setting.go
+ 1
- 1
modules/setting/setting.go
View File
@@ -1038,7 +1038,7 @@ func NewContext() {
GravatarSource = source
}
DisableGravatar = sec.Key("DISABLE_GRAVATAR").MustBool()
EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool()
EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool(
!InstallLock
)
if OfflineMode {
DisableGravatar = true
EnableFederatedAvatar = false
Write
Preview
Loading…
Cancel
Save