From 83e4361d2a80d986f3332253245c7dedb1d55a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Fri, 15 Jul 2022 12:14:34 +0200 Subject: [PATCH] Update docs/features.rst Co-authored-by: Peter Bittner --- docs/features.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/features.rst b/docs/features.rst index ae6d075..3bf6a44 100644 --- a/docs/features.rst +++ b/docs/features.rst @@ -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)