feat: move /first_install to vue component (#3485)

This commit is contained in:
dni ⚡
2025-11-10 11:17:29 +01:00
committed by GitHub
parent 8755984bd8
commit f8c58aef0e
13 changed files with 205 additions and 166 deletions
+8
View File
@@ -376,3 +376,11 @@ async def check_extension_builder(
HTTPStatus.FORBIDDEN,
"Extension Builder is disabled for non admin users.",
)
async def check_first_install():
if not settings.first_install:
raise HTTPException(
status_code=HTTPStatus.BAD_REQUEST,
detail="Super user account has already been configured.",
)