The Moya Signup library handles signing up new users to your site. It creates a typical signup page which allows visitors to create an account. This library is entirely optional, but if you don't use it you will need some other way of adding users to your site.
Moya Signup is built in to Moya and may be import via its Python path as follows:
You can install it with the following:
If you have installed Moya Signup in the default location then
/signup/ will show the signup form. The URL
/signup/validate/ is used to validate a user's email.
Moya Signup supports the following settings:
terms_and_conditions = <URL PATH>
If given, then the signup for will be rendered with a link to a terms and conditions page. The default for this settings is
If this setting is set to
yes, Moya Signup will send an email to the user to validate their email address. When a user's email has been validated, the boolean value
email_validated will be set to
yes on their user object.
min_password_length = <LENGTH>
This sets the minimum number of characters on new passwords. The default is 5 characters.
recaptcha = <yes/no>
yes, Moya Signup will require a CAPTCHA to post anonymously. See Moya Google Recaptcha.