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
Branches
Tags
No related merge requests found
...@@ -48,7 +48,7 @@ options = mysql_enable_utf8 ...@@ -48,7 +48,7 @@ options = mysql_enable_utf8
[idp] [idp]
scope = my.fqdn scope = my.fqdn
entityid = https://my.fqdn/simplesaml/saml2/idp/metadata.php entityid = https://my.fqdn/simplesaml/saml2/idp/metadata.php
displayname = eduGAIN Access Check name = eduGAIN Access Check
# default parameters for all services # default parameters for all services
[service] [service]
......
...@@ -646,6 +646,7 @@ sub req_create_accounts { ...@@ -646,6 +646,7 @@ sub req_create_accounts {
action => 'create_accounts', action => 'create_accounts',
accounts => \@accounts, accounts => \@accounts,
entityid => $entityid, entityid => $entityid,
idp => $self->{configuration}->{idp}->{name},
url => $sp->information_url(), url => $sp->information_url(),
email => $email, email => $email,
key => $key, key => $key,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2> <h2>[% lh.maketext("Test accounts created") %]</h2>
<p> <p>
[% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", url) %] [% 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>
<p><a class="button" href="[% app.url %]?action=download_accounts&entityid=[% entityid %]&token=[% token %]&key=[% key %]">[% lh.maketext("Download in CSV format") %]</a></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 @@ ...@@ -10,7 +10,7 @@
<h2>[% lh.maketext("Test accounts created") %]</h2> <h2>[% lh.maketext("Test accounts created") %]</h2>
<p> <p>
[% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", url) %] [% 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>
<p><a class="button" href="[% app.url %]?action=download_accounts&entityid=[% entityid %]&token=[% token %]&key=[% key %]">[% lh.maketext("Download in CSV format") %]</a></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.
Please register or to comment