Skip to content

Commit 03f57fe

Browse files
committed
Enable Libravatar by default in new installations
Pre-existing installs still have it default to off. This is consistent with OpenID setting.
1 parent de9e36e commit 03f57fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ func NewContext() {
10381038
GravatarSource = source
10391039
}
10401040
DisableGravatar = sec.Key("DISABLE_GRAVATAR").MustBool()
1041-
EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool()
1041+
EnableFederatedAvatar = sec.Key("ENABLE_FEDERATED_AVATAR").MustBool(!InstallLock)
10421042
if OfflineMode {
10431043
DisableGravatar = true
10441044
EnableFederatedAvatar = false

0 commit comments

Comments
 (0)