admin: add setting to hide background on login

for #288.
This commit is contained in:
Harvey Tindall
2023-10-02 10:34:14 +01:00
parent ff1ea8549a
commit 9956bbd974
9 changed files with 50 additions and 5 deletions
+1
View File
@@ -176,6 +176,7 @@ func (app *appContext) AdminPage(gc *gin.Context) {
"jfAllowAll": jfAllowAll,
"userPageEnabled": app.config.Section("user_page").Key("enabled").MustBool(false),
"referralsEnabled": app.config.Section("user_page").Key("enabled").MustBool(false) && app.config.Section("user_page").Key("referrals").MustBool(false),
"loginAppearance": app.config.Section("ui").Key("login_appearance").MustString("clear"),
})
}