fix: ui fixes

This commit is contained in:
gosangam
2026-06-16 15:49:23 +05:30
parent 41367a8b27
commit 5342123fba
8 changed files with 388 additions and 34 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export default function LoginPage() {
// state against the admin origin.
async function gateAdmin(user: Me) {
if (user.role === "admin") {
router.replace("/users");
router.replace("/");
return;
}
await api.logout().catch(() => {});