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

no need for federation name at this stage

parent 75a141a6
No related branches found
No related tags found
No related merge requests found
......@@ -395,12 +395,9 @@ sub req_select_email {
sub req_complete_challenge {
my ($self, %args) = @_;
my $federation = $self->get_parameter(name => 'federation');
my $entityid = $self->get_parameter(name => 'entityid');
my $email = $self->get_parameter(name => 'email');
my $metadata_file = $self->get_metadata_file(federation => $federation);
my $sp = AccountManager::ServiceProvider->new(
db => $self->{db},
entityid => $entityid,
......@@ -495,9 +492,8 @@ sub req_complete_challenge {
entityid => $entityid,
token => $token->secret(),
challenge_url => sprintf(
'%s?action=complete_challenge&federation=%s&entityid=%s&email=%s',
'%s?action=complete_challenge&entityid=%s&email=%s',
$self->{configuration}->{app}->{url},
$federation,
$entityid,
$email,
),
......@@ -567,7 +563,6 @@ sub req_complete_challenge {
template => 'complete_challenge.tt2.html',
data => {
action => 'complete_challenge',
federation => $federation,
entityid => $entityid,
email => $email,
}
......
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