diff --git a/modules/lemonldap-ng-portal/example/index_skin.pl b/modules/lemonldap-ng-portal/example/index_skin.pl index 5cc37a2b4..600a313bd 100755 --- a/modules/lemonldap-ng-portal/example/index_skin.pl +++ b/modules/lemonldap-ng-portal/example/index_skin.pl @@ -108,6 +108,7 @@ elsif ( my $notif = $portal->notification ) { AUTH_ERROR_TYPE => $portal->error_type, NOTIFICATION => $notif, SKIN => $skin, + HIDDEN_INPUTS => $portal->buildHiddenForm(), ); } @@ -121,6 +122,7 @@ elsif ( $portal->{error} == PE_CONFIRM ) { AUTH_URL => $portal->get_url, MSG => $portal->info(), SKIN => $skin, + HIDDEN_INPUTS => $portal->buildHiddenForm(), ); } @@ -137,6 +139,7 @@ else { DISPLAY_RESETPASSWORD => $portal->{portalDisplayResetPassword}, DISPLAY_FORM => 1, MAIL_URL => $portal->{mailUrl}, + HIDDEN_INPUTS => $portal->buildHiddenForm(), ); # Adapt template if password policy error diff --git a/modules/lemonldap-ng-portal/example/skins/impact/confirm.tpl b/modules/lemonldap-ng-portal/example/skins/impact/confirm.tpl index c0a5b099f..a28a18f32 100644 --- a/modules/lemonldap-ng-portal/example/skins/impact/confirm.tpl +++ b/modules/lemonldap-ng-portal/example/skins/impact/confirm.tpl @@ -9,6 +9,7 @@