Add a password-gated private instance mode for xaigen.
Keep Authentik on aigen, isolate library data per instance, and purge Comfy outputs from the desktop after they are saved on the server. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
export default defineEventHandler((event) => {
|
||||
const user = getSessionUser(event)
|
||||
return { user, authEnabled: authEnabled() }
|
||||
return {
|
||||
user,
|
||||
authEnabled: authEnabled(),
|
||||
authMode: passwordAuthEnabled() ? 'password' : oidcAuthEnabled() ? 'oidc' : 'none',
|
||||
instanceName: useRuntimeConfig().public.instanceName || 'AIGen'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user