Add login page docs hint (#20619)

* add config field

* add endpoint

* set config var when onboarding

* add no auth exception to nginx config

* form changes and i18n

* clean up
This commit is contained in:
Josh Hawkins
2025-10-22 12:24:53 -05:00
committed by GitHub
parent d6f5d2b0fa
commit 2387dccc19
6 changed files with 73 additions and 1 deletions
+7
View File
@@ -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