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

pass IdP name to template

parent 4c4c58b9
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ options = mysql_enable_utf8
[idp]
scope = my.fqdn
entityid = https://my.fqdn/simplesaml/saml2/idp/metadata.php
displayname = eduGAIN Access Check
name = eduGAIN Access Check
# default parameters for all services
[service]
......
......@@ -646,6 +646,7 @@ sub req_create_accounts {
action => 'create_accounts',
accounts => \@accounts,
entityid => $entityid,
idp => $self->{configuration}->{idp}->{name},
url => $sp->information_url(),
email => $email,
key => $key,
......
......@@ -8,7 +8,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2>
<p>
[% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", url) %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp_displayname) %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp) %]
</p>
<p><a class="button" href="[% app.url %]?action=download_accounts&entityid=[% entityid %]&token=[% token %]&key=[% key %]">[% lh.maketext("Download in CSV format") %]</a></p>
......
......@@ -10,7 +10,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2>
<p>
[% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", url) %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp_displayname) %]
[% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp) %]
</p>
<p><a class="button" href="[% app.url %]?action=download_accounts&entityid=[% entityid %]&token=[% token %]&key=[% key %]">[% lh.maketext("Download in CSV format") %]</a></p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment