diff --git a/doc/sources/admin/upgrade_2_0_x.rst b/doc/sources/admin/upgrade_2_0_x.rst index 98cc92103..64553735b 100644 --- a/doc/sources/admin/upgrade_2_0_x.rst +++ b/doc/sources/admin/upgrade_2_0_x.rst @@ -117,6 +117,109 @@ The 2FA registration screen now displays the custom logo and label set in config If you are using the default templates from the ``bootstrap`` theme, you don't need to change anything. +Remember authentication choice +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +A :doc:`new plugin` can be enabled to display a checkbox in :doc:`authentication choice` module to allow users remembering their choice, which will automatically redirect them to the selected choice the next time they connect to the portal. + +If you use custom templates, you should update ``login.tpl`` + +.. code:: diff + + --- a/lemonldap-ng-portal/site/templates/bootstrap/login.tpl + +++ b/lemonldap-ng-portal/site/templates/bootstrap/login.tpl + @@ -66,6 +66,12 @@ + + + + + + + + + + + true" /> + + + + + + + + @@ -92,6 +98,11 @@ + + + + + + + + + true" /> + + + + + + + + @@ -104,6 +115,34 @@ + + + + + + +
+ + + + + +
+ +
+ + checked /> + + "> + +
+ +

+ + + +

+ ...skipping... +
+ + + + + + + true" /> + + + + + + + + @@ -104,6 +115,34 @@ + +
+ + + + +
+ + + + + +
+ +
+ + checked /> + + "> + +
+ +

+ + + +

+ +
+ + + + + +
+ +

+ + + + + +

+ + + +
+ + + +
+ +
+ +
+ +
+ + +
+ + + +Copy also ``styles.min.css`` and ``skin.min.js`` from ``bootstrap`` into your custom theme. + +If you are using the default templates from the ``bootstrap`` theme, you don't need to change anything. + 2.0.14 ------