Commit 59d80d99 authored by Clément OUDOT's avatar Clément OUDOT

Keep default value in condition if no notOnOrAfter timeout configured (#LEMONLDAP-737)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3508 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 0285b428
......@@ -1674,9 +1674,11 @@ sub issuerForAuthUser {
$self->{samlSPMetaDataOptions}->{$spConfKey}
->{samlSPMetaDataOptionsOneTimeUse};
my $conditionNotOnOrAfter = $notOnOrAfterTimeout || "86400";
eval {
$response_assertions[0]
->set_basic_conditions( 60, $notOnOrAfterTimeout, $oneTimeUse );
->set_basic_conditions( 60, $conditionNotOnOrAfter,
$oneTimeUse );
};
if ($@) {
$self->lmLog( "Basic conditions not set: $@", 'debug' );
......
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