| 1 |
Configuration |
| 2 |
============= |
| 3 |
|
| 4 |
Available settings: |
| 5 |
|
| 6 |
``USERSESSIONS_ADAPTER`` (default: ``"allauth.usersessions.adapter.DefaultUserSessionsAdapter"``) |
| 7 |
Specifies the adapter class to use, allowing you to alter certain |
| 8 |
default behaviour. |
| 9 |
|
| 10 |
``USERSESSIONS_TRACK_ACTIVITY`` (default: ``False``) |
| 11 |
Whether or not user sessions are kept updated. User sessions are created at |
| 12 |
login time, but as the user continues to access the site the IP address might |
| 13 |
change. Enabling this setting makes sure that the session is kept track of, |
| 14 |
meaning, the IP address, user agent and last seen timestamp are all kept up to |
| 15 |
date. Requires ``allauth.usersessions.middleware.UserSessionsMiddleware`` to |
| 16 |
be installed. |