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
Branches
Tags
No related merge requests found
...@@ -395,12 +395,9 @@ sub req_select_email { ...@@ -395,12 +395,9 @@ sub req_select_email {
sub req_complete_challenge { sub req_complete_challenge {
my ($self, %args) = @_; my ($self, %args) = @_;
my $federation = $self->get_parameter(name => 'federation');
my $entityid = $self->get_parameter(name => 'entityid'); my $entityid = $self->get_parameter(name => 'entityid');
my $email = $self->get_parameter(name => 'email'); my $email = $self->get_parameter(name => 'email');
my $metadata_file = $self->get_metadata_file(federation => $federation);
my $sp = AccountManager::ServiceProvider->new( my $sp = AccountManager::ServiceProvider->new(
db => $self->{db}, db => $self->{db},
entityid => $entityid, entityid => $entityid,
...@@ -495,9 +492,8 @@ sub req_complete_challenge { ...@@ -495,9 +492,8 @@ sub req_complete_challenge {
entityid => $entityid, entityid => $entityid,
token => $token->secret(), token => $token->secret(),
challenge_url => sprintf( 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}, $self->{configuration}->{app}->{url},
$federation,
$entityid, $entityid,
$email, $email,
), ),
...@@ -567,7 +563,6 @@ sub req_complete_challenge { ...@@ -567,7 +563,6 @@ sub req_complete_challenge {
template => 'complete_challenge.tt2.html', template => 'complete_challenge.tt2.html',
data => { data => {
action => 'complete_challenge', action => 'complete_challenge',
federation => $federation,
entityid => $entityid, entityid => $entityid,
email => $email, email => $email,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment