Skip to content

Commit

Permalink
Merge pull request #571 from xiaohanyu/typo-fix-docs-user-registration
Browse files Browse the repository at this point in the history
Typo and 404 link fix for user_registration docs.
  • Loading branch information
dpgaspar committed Aug 23, 2017
2 parents be2c0e8 + 756e70f commit 8e8ca65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/user_registration.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
User Registration
=================

Allows users to register themselves has users, will behave differently according to the authentication method.
Allows users to register themselves as users, will behave differently according to the authentication method.

Database Authentication
-----------------------
Expand All @@ -17,7 +17,7 @@ This behaviour can be easily configured or completely altered. By overriding the
or implementing an all new class. **RegisterUserDBView** inherits from BaseRegisterUser that hold some handy base methods
and properties.

Note that the process required for sending email's uses the excellent flask-email package so make sure you installed it
Note that the process required for sending email's uses the excellent flask-mail package so make sure you installed it
first.

Enabling and using the default implementation is easy just configure the following global config keys on config.py::
Expand Down Expand Up @@ -69,7 +69,7 @@ class and inherit from RegisterUserDBView (when using auth db). Let's take a loo
This class will override:

- The template used to generate the email sent by the user. Take a look at the default template to get a simple
starting point `Mail template <https://github.com/dpgaspar/Flask-AppBuilder/blob/1.1.0/flask_appbuilder/templates/appbuilder/general/security/register_mail.html>`_.
starting point `Mail template <https://github.com/dpgaspar/Flask-AppBuilder/blob/master/flask_appbuilder/templates/appbuilder/general/security/register_mail.html>`_.
Your template will receive the following parameters:

- first_name
Expand All @@ -80,7 +80,7 @@ This class will override:
- The email subject

- The activation template. This the page shown to the user when he/she finishes the activation. Take a look at the default template to get a simple
starting point `Activation Template <https://github.com/dpgaspar/Flask-AppBuilder/blob/1.1.0/flask_appbuilder/templates/appbuilder/general/security/activation.html>`_.
starting point `Activation Template <https://github.com/dpgaspar/Flask-AppBuilder/blob/master/flask_appbuilder/templates/appbuilder/general/security/activation.html>`_.

- The form title. The title that is presented on the registration form.

Expand Down

0 comments on commit 8e8ca65

Please sign in to comment.