feat: add admin user management and disable public registration

This commit is contained in:
陈煜 committed 2026-10-05 14:08:39 +08:00
1 parent cfbba73791
commit 312a5ccb86
32 files changed
+1120 -69

No files matched your search

+25
View File
@@ -2567,3 +2567,28 @@ textarea,
grid-template-columns: minmax(0, 1fr);
}
}
/* Administrator accounts and mandatory first-login password change. */
.admin-panel {
display: grid;
gap: 24px;
}
.admin-create {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
gap: 16px;
align-items: end;
}
.first-password {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
}
.first-password > .panel {
width: min(100%, 520px);
}
@media (max-width: 800px) {
.admin-create {
grid-template-columns: 1fr;
}
}