feat: enhance redis and production IA
This commit is contained in:
1 parent
644981eef4
commit
58bbc394e9
76 files changed
+1702
-721
No files matched your search
@@ -69,7 +69,7 @@ func UpdateUserPreferences(c *gin.Context) {
|
||||
// GET /api/v1/public/login-style (no auth required)
|
||||
func GetPublicLoginStyle(c *gin.Context) {
|
||||
style := "split"
|
||||
theme := "dark"
|
||||
theme := "system"
|
||||
|
||||
var s model.SystemSetting
|
||||
if model.DB.Where("`key` = ?", "login_style").Take(&s).Error == nil && s.Value != "" {
|
||||
|
||||
Reference in new issue
Block a user