feat: basic admin interface
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Public on purpose: the sign in pages ask this before anyone is signed in.
|
||||
export default defineEventHandler(async () => {
|
||||
const [setupNeeded, registration] = await Promise.all([isSetupNeeded(), getRegistrationMode()]);
|
||||
|
||||
return { setupNeeded, registration };
|
||||
});
|
||||
Reference in New Issue
Block a user