diff --git a/modules/lemonldap-ng-portal/example/index_skin.pl b/modules/lemonldap-ng-portal/example/index_skin.pl index f0a57c8fa..0692dc073 100644 --- a/modules/lemonldap-ng-portal/example/index_skin.pl +++ b/modules/lemonldap-ng-portal/example/index_skin.pl @@ -236,7 +236,7 @@ else { } else { $template->param( DISPLAY_FORM => 1 ); - $template->param( DISPLAY_RESETPASSWORD => 1 ); + $template->param( DISPLAY_RESETPASSWORD => $DISPLAY_RESETPASSWORD ); } print $portal->header('text/html; charset=utf-8');