@@ -37,31 +37,3 @@ because you can choose not to do any email address storage.
3737If you don't use a custom user model then make sure you take extra precaution.
3838When editing email addresses either in the shell or admin make sure you update
3939in both places. Only the primary email address is stored on the ``User `` model.
40-
41- Why does auto-login after sign up not log my user in?
42- =====================================================
43-
44- If you are using Django 1.6+ and ``django.contrib.auth.backends.ModelBackend ``
45- does not exist in your ``AUTHENTICATION_BACKENDS `` then you will experience an
46- issue where users are not logged in after sign up (when
47- ``ACCOUNT_EMAIL_CONFIRMATION_REQUIRED `` is ``False ``.)
48-
49- This has been fixed, but the default behavior is buggy (for this use case) to
50- maintain backward compatibility. In a future version of django-user-accounts
51- the default behavior will not be buggy.
52-
53- To fix, simply set::
54-
55- ACCOUNT_USE_AUTH_AUTHENTICATE = True
56-
57- in your Django settings. This will cause the ``login_user `` method of
58- ``SignupView `` to use proper backend authentication to determine the correct
59- authentication backend for the user. You will need to make sure that
60- ``SignupView.identifier_field `` is set to represent the correct field on the
61- sign up form to use as the username for credentials. By default the ``username ``
62- field is used (to be consistent with the default username authentication used
63- for log in.)
64-
65- If you have a custom need for user credentials passed to the authentication
66- backends, you may override the behavior using the hookset
67- ``get_user_credentials ``.
0 commit comments