dont auto accept user into an org when creating platform org (#20125)
This commit is contained in:
@@ -204,7 +204,7 @@ export const createHandler = async ({ input, ctx }: CreateOptions) => {
|
||||
}
|
||||
}
|
||||
|
||||
const autoAcceptEmail = orgOwnerEmail.split("@")[1];
|
||||
const autoAcceptEmail = isPlatform ? "UNUSED_FOR_PLATFORM" : orgOwnerEmail.split("@")[1];
|
||||
|
||||
const orgData = {
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user