Nymph.js 1.0.0-beta.113
    Preparing search index...

    Type Alias TilmeldCheckUsernameCallback

    TilmeldCheckUsernameCallback: (
        user: User & UserData,
        data: { username: string },
    ) => 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.

    Type Declaration

      • (
            user: User & UserData,
            data: { username: string },
        ): Promise<{ message?: string; result: boolean }>
      • Parameters

        Returns Promise<{ message?: string; result: boolean }>