Type alias TilmeldCheckUsernameCallback
TilmeldCheckUsernameCallback: ((user, data) => Promise<{
message?: string;
result: boolean;
}>)
Type declaration
- (user, data): Promise<{
message?: string;
result: boolean;
}> Returns Promise<{
message?: string;
result: boolean;
}>
This is run when the user has entered an otherwise valid username into the signup form. It should return a result, which when false will stop the process and return the included message, disallowing the username.