Type alias TilmeldBeforeRegisterCallback
TilmeldBeforeRegisterCallback: ((user, data) => Promise<void>)
Type declaration
- (user, data): Promise<void>
Parameters
- user: User & UserData
- data: {
additionalData?: {
[k: string]: any;
};
password: string;
}Optional
additionalData?: {
[k: string]: any;
}
password: string
Returns Promise<void>
Theses are run before the user data checks, so the only checks before are whether registration is allowed and whether the user is already registered.