From 573d4c59bacd668ce9b48585617671e3421d139f Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Thu, 20 Oct 2022 17:27:10 +0200 Subject: [PATCH] Fix upgrade note for 2.0.10 regarding skin.min.js for users who need to upgrade from very old versions --- doc/sources/admin/upgrade_2_0_x.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/sources/admin/upgrade_2_0_x.rst b/doc/sources/admin/upgrade_2_0_x.rst index 64553735b..1410637c7 100644 --- a/doc/sources/admin/upgrade_2_0_x.rst +++ b/doc/sources/admin/upgrade_2_0_x.rst @@ -552,14 +552,16 @@ No change is required if you are using the default ``bootstrap`` theme. 2FA manager ^^^^^^^^^^^ -In ``2fregisters.tpl`` you need to add the ``remove2f`` class to the button that triggers second factor removal: +If you use a custom theme, even if you did not modify ``2fregisters.tpl``, you need to copy ``skin.min.js`` from the ``htdocs/static/bootstrap/js`` folder to your custom theme's ``js`` folder. + +If you modified ``2fregisters.tpl`` 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 `__ +Or, better yet, integrate the changes in ``2fregisters.tpl`` into your custom theme to benefit from the `new 2F removal confirmation dialog `__ Checkboxes ^^^^^^^^^^