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

add CSRF token to email link

parent e2dfb888
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ sub run {
sp => { entityid => $entityid, },
to => $email,
token => $token->secret(),
challenge_url => $self->url_for('step3')->query(entityid => $entityid, email => $email)->to_abs(),
challenge_url => $self->url_for('step3')->query(entityid => $entityid, email => $email, token => $self->csrf_token())->to_abs(),
lh => $l10n
};
my $text_content;
......
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