From fd78b829ba1d989b60813ddee24392410f3085fe Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Fri, 15 Jan 2021 15:32:00 +0100 Subject: [PATCH] Upgrade warning for #2438 --- doc/sources/admin/upgrade_2_0_x.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/sources/admin/upgrade_2_0_x.rst b/doc/sources/admin/upgrade_2_0_x.rst index 7766de4df..cead120a1 100644 --- a/doc/sources/admin/upgrade_2_0_x.rst +++ b/doc/sources/admin/upgrade_2_0_x.rst @@ -36,6 +36,20 @@ In this situation, you have to update your LUA configuration file like ``/etc/ng - In the Manager API, postLogoutRedirectUri is now `returned and consumed as an array `__ - We fixed a bug that caused SAML sessions to be created and never deleted, you should check your session databases for sessions that have ``"_session_kind": "ISAML"`` but no ``_utime``. You can safely delete SAML sessions with no ``_utime`` during the upgrade. +Required change in the 2FA manager template +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you have developped a custom version of the ``2fregisters.tpl`` template, you need to update it to reflect a change in the portal javascript code. This change is not required if you are using the default ``bootstrap`` theme. + +You need to add the ``remove2f`` class to the button that triggers second factor removal: + +.. code-block:: diff + + - + + + +Or, better yet, integrate the changes in ``2fregisters.tpl`` and ``skin.min.js`` into your custom theme to benefit from the `new 2F removal confirmation dialog `__ + 2.0.9 -----