1
This commit is contained in:
@@ -1076,7 +1076,8 @@ async def list_system_configs(
|
||||
admin: User = Depends(get_admin_user),
|
||||
db: AsyncSession = Depends(get_db),
|
||||
):
|
||||
result = await db.execute(select(SystemConfig))
|
||||
deprecated_keys = {"user_agreement_url", "privacy_policy_url"}
|
||||
result = await db.execute(select(SystemConfig).where(~SystemConfig.key.in_(deprecated_keys)))
|
||||
return result.scalars().all()
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -28,8 +28,8 @@
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-Ce4rxk1z.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DPfgSIY6.css">
|
||||
<script type="module" crossorigin src="/assets/index-Cp3nLdxN.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CWoSQevq.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -180,10 +180,12 @@
|
||||
.login-right-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1;
|
||||
padding: 16px 16px 32px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 900px) {
|
||||
@@ -378,7 +380,6 @@
|
||||
|
||||
.login-copyright {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.login-copyright-text {
|
||||
@@ -386,19 +387,9 @@
|
||||
color: #94a3b8 !important;
|
||||
}
|
||||
|
||||
@media (min-width: 900px) {
|
||||
.login-copyright {
|
||||
position: absolute;
|
||||
bottom: 24px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.login-copyright {
|
||||
margin-top: 16px;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.login-copyright-text {
|
||||
|
||||
Reference in New Issue
Block a user