B2B-30: adds personal code to account, company admins invites members
This commit is contained in:
@@ -8,6 +8,7 @@ import { useAppEvents } from '@kit/shared/events';
|
||||
import { useSignUpWithEmailAndPassword } from '@kit/supabase/hooks/use-sign-up-with-email-password';
|
||||
|
||||
type SignUpCredentials = {
|
||||
personalCode: string;
|
||||
email: string;
|
||||
password: string;
|
||||
};
|
||||
@@ -46,7 +47,6 @@ export function usePasswordSignUpFlow({
|
||||
emailRedirectTo,
|
||||
captchaToken,
|
||||
});
|
||||
|
||||
// emit event to track sign up
|
||||
appEvents.emit({
|
||||
type: 'user.signedUp',
|
||||
|
||||
Reference in New Issue
Block a user