Skip to content
Snippets Groups Projects
Commit 56f8ed4b authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

pass the validity duration to the template

parent aff7c119
Branches
Tags
No related merge requests found
......@@ -791,6 +791,7 @@ sub req_create_accounts {
entityid => $self->{in}->{entityid},
key => $key,
token => $download_token->token(),
days => $validity_period,
}
);
}
......
......@@ -81,7 +81,7 @@
<div class="row">
<div class="callout warning">
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", accounts_validity_period, entityid) %]</p>
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", days, entityid) %]</p>
</div>
</div>
......
......@@ -81,7 +81,7 @@
<div class="row">
<div class="callout warning">
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", accounts_validity_period, entityid) %]</p>
<p>[% lh.maketext("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[_2]</strong>.", days, entityid) %]</p>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment