diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm index 748812f3d..025ba45ab 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm @@ -633,8 +633,8 @@ sub display { DISPLAY_CONFIRMMAILSENT => 0, DISPLAY_MAILSENT => 0, DISPLAY_PASSWORD_FORM => 0, - ENABLE_PASSWORD_DISPLAY => - $self->conf->{portalEnablePasswordDisplay}, + ENABLE_PASSWORD_DISPLAY => $self->conf->{portalEnablePasswordDisplay}, + DONT_STORE_PASSWORD => $self->conf->{browsersDontStorePassword}, DISPLAY_PPOLICY => $self->conf->{portalDisplayPasswordPolicy} && $isPP, PPOLICY_MINSIZE => $self->conf->{passwordPolicyMinSize}, PPOLICY_MINLOWER => $self->conf->{passwordPolicyMinLower}, diff --git a/lemonldap-ng-portal/site/templates/bootstrap/mail.tpl b/lemonldap-ng-portal/site/templates/bootstrap/mail.tpl index e975f2519..9d78a1328 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/mail.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/mail.tpl @@ -120,23 +120,41 @@
- - -
- -
+ + + +
+ +
+
+ + + +
+ +
+
-
+
- - -
- -
+ + + +
+ +
+
+ + + +
+ +
+