signup

Exported APIs:

  • model/signup/get/confirm_redirect return the URL for redirecting the current user after a signup.

This is done by calling (first) the #signup_confirm_redirect{ id = UserId } notification. If undefined is returned then the URL defaults to the personal page of the user. If no user is logged on then the URL of the home page (dispatch rule home) is returned.

Available Model API Paths

MethodPath patternDescription
get/confirm_redirect/...Return post-signup redirect URL: #signup_confirm_redirect{id=UserId} notifier result when provided, otherwise user page_url, and home URL when no user is logged in.
get/config/username_equals_email/...Return mod_signup.username_equals_email boolean setting (default false) indicating whether signup usernames must equal email addresses.

/+name marks a variable path segment. A trailing /... means extra path segments are accepted for further lookups.

Edit on GitHub