mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 10:16:41 +00:00
check for user before getting orgs, create default config
This commit is contained in:
@@ -13,6 +13,7 @@ export default async function Page() {
|
||||
|
||||
if (!user) {
|
||||
redirect("/auth/login");
|
||||
return;
|
||||
}
|
||||
|
||||
let orgs: ListOrgsResponse["orgs"] = [];
|
||||
|
||||
Reference in New Issue
Block a user