Skip to content

Commit

Permalink
Update documentation to refer to email_verified
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyFoote committed Apr 2, 2015
1 parent 33b85a0 commit 2dc1e44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/mixins.md
Expand Up @@ -9,7 +9,7 @@ mixin with a `name`, `email`, `date_joined`, `is_staff`, and `is_active`.

`user_management.models.mixins.VerifyEmailMixin` extends ActiveUserMixin to
provide functionality to verify the email. It includes an additional
`email_verification_required` field.
`email_verified` field.

By default, users will be created with `is_active = False`. A verification email
will be sent including a link to verify the email and activate the account.
Expand Down
4 changes: 2 additions & 2 deletions user_management/api/views.py
Expand Up @@ -71,8 +71,8 @@ class UserRegister(generics.CreateAPIView):
"""
Register a new `User`.
An email to validate the new account is sent if `email_verification_required`
is set to `True`.
An email to validate the new account is sent if `email_verified`
is set to `False`.
"""
serializer_class = serializers.RegistrationSerializer
permission_classes = [permissions.IsNotAuthenticated]
Expand Down

0 comments on commit 2dc1e44

Please sign in to comment.