feat(auth): expand disabled paths for SSO registration and organization management

- Added new disabled paths for organization creation, update, and deletion to enhance security in the authentication flow.
This commit is contained in:
Mauricio Siu
2026-01-31 05:11:45 -06:00
parent 7665b38b79
commit 6b42c9d142
+6 -1
View File
@@ -24,7 +24,12 @@ export const { handler, api } = betterAuth({
provider: "pg",
schema: schema,
}),
disabledPaths: ["/sso/register"],
disabledPaths: [
"/sso/register",
"/organization/create",
"/organization/update",
"/organization/delete",
],
appName: "Dokploy",
socialProviders: {
github: {