diff --git a/frigate/config/auth.py b/frigate/config/auth.py index fd5d0e394..fced20620 100644 --- a/frigate/config/auth.py +++ b/frigate/config/auth.py @@ -38,6 +38,13 @@ class AuthConfig(FrigateBaseModel): default_factory=dict, title="Role to camera mappings. Empty list grants access to all cameras.", ) + admin_first_time_login: Optional[bool] = Field( + default=False, + title="Internal field to expose first-time admin login flag to the UI", + description=( + "When true the UI may show a help link on the login page informing users how to sign in after an admin password reset. " + ), + ) @field_validator("roles") @classmethod