Commit 79075b8e authored by Clément OUDOT's avatar Clément OUDOT
Browse files

SAML: do not force optional parameters in add_provider_from_buffer

parent a9abc60e
......@@ -123,8 +123,8 @@ sub addIDP {
my $self = shift;
my $server = shift;
my $metadata = shift;
my $public_key = shift || '';
my $ca_cert_chain = shift || '';
my $public_key = shift;
my $ca_cert_chain = shift;
return 0 unless ( $server->isa("Lasso::Server") and defined $metadata );
......@@ -145,8 +145,8 @@ sub addProvider {
my $server = shift;
my $role = shift;
my $metadata = shift;
my $public_key = shift || '';
my $ca_cert_chain = shift || '';
my $public_key = shift;
my $ca_cert_chain = shift;
return 0
unless ( $server->isa("Lasso::Server")
......
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