Update docs/features.rst

Co-authored-by: Peter Bittner <django@bittner.it>
This commit is contained in:
Petr Dlouhý 2022-07-15 12:14:34 +02:00 committed by Peter Bittner
parent 25979fd0c2
commit 83e4361d2a

View file

@ -73,9 +73,11 @@ and is enabled by default. To disable:
Changing the identity
*********************
If you want to change identity of the user, that different providers are
sending, you can do it by setting the `analyitcal_identity` context variable::
If you want to override the identity of the logged-in user that the various
providers send you can do it by setting the ``analytical_identity`` context
variable in your view code:
.. code-block:: python
context = RequestContext({'analytical_identity': user.uuid})
return some_template.render(context)