mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-06 07:53:11 -05:00
fix: Set the daily schedule to a specific time, rather than 24hr from start up (#3645)
This commit is contained in:
@@ -57,6 +57,8 @@ class AppSettings(BaseSettings):
|
||||
|
||||
ALLOW_SIGNUP: bool = False
|
||||
|
||||
DAILY_SCHEDULE_TIME: str = "23:45"
|
||||
|
||||
# ===============================================
|
||||
# Security Configuration
|
||||
|
||||
@@ -199,7 +201,11 @@ class AppSettings(BaseSettings):
|
||||
def OIDC_READY(self) -> bool:
|
||||
"""Validates OIDC settings are all set"""
|
||||
|
||||
required = {self.OIDC_CLIENT_ID, self.OIDC_CONFIGURATION_URL, self.OIDC_USER_CLAIM}
|
||||
required = {
|
||||
self.OIDC_CLIENT_ID,
|
||||
self.OIDC_CONFIGURATION_URL,
|
||||
self.OIDC_USER_CLAIM,
|
||||
}
|
||||
not_none = None not in required
|
||||
valid_group_claim = True
|
||||
if (not self.OIDC_USER_GROUP or not self.OIDC_ADMIN_GROUP) and not self.OIDC_GROUPS_CLAIM:
|
||||
|
||||
Reference in New Issue
Block a user