Commit a17159f1 authored by Clément OUDOT's avatar Clément OUDOT

Don't send max_age if value is 0 (#183)

parent 3ad495f8
......@@ -266,7 +266,7 @@ sub buildAuthorizationCodeAuthnRequest {
$authn_uri .= "&nonce=$nonce" if defined $nonce;
$authn_uri .= "&display=$display" if defined $display;
$authn_uri .= "&prompt=$prompt" if defined $prompt;
$authn_uri .= "&max_age=$max_age" if defined $max_age;
$authn_uri .= "&max_age=$max_age" if $max_age;
$authn_uri .= "&ui_locales=$ui_locales" if defined $ui_locales;
$authn_uri .= "&acr_values=$acr_values" if defined $acr_values;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment