Closes: #54
This commit is contained in:
parent
034e5a0142
commit
2a8db1c3d6
@ -627,20 +627,13 @@ sub defaultValuesInit {
|
|||||||
$cookieName = $args->{cookieName} || $cookieName || 'lemonldap';
|
$cookieName = $args->{cookieName} || $cookieName || 'lemonldap';
|
||||||
$whatToTrace = $args->{whatToTrace} || $whatToTrace || 'uid';
|
$whatToTrace = $args->{whatToTrace} || $whatToTrace || 'uid';
|
||||||
$whatToTrace =~ s/\$//g;
|
$whatToTrace =~ s/\$//g;
|
||||||
$https =
|
$https = defined($https) ? $https : $args->{https};
|
||||||
defined($https)
|
|
||||||
? ( $https eq $args->{https} ? $https : $args->{https} )
|
|
||||||
: 1;
|
|
||||||
$args->{securedCookie} = 1 unless defined( $args->{securedCookie} );
|
$args->{securedCookie} = 1 unless defined( $args->{securedCookie} );
|
||||||
$cookieName .= 'http' if ( $args->{securedCookie} == 2 and $https == 0 );
|
$cookieName .= 'http' if ( $args->{securedCookie} == 2 and $https == 0 );
|
||||||
$port =
|
$port ||= $args->{port};
|
||||||
defined($port) ? ( $port eq $args->{port} ? $port : $args->{port} ) : 0;
|
|
||||||
$customFunctions = $args->{customFunctions};
|
$customFunctions = $args->{customFunctions};
|
||||||
$cda = defined($cda) ? ( $cda eq $args->{cda} ? $cda : $args->{cda} ) : 0;
|
$cda = defined($cda) ? $cda : $args->{cda};
|
||||||
$httpOnly =
|
$httpOnly = defined($httpOnly) ? $httpOnly : $args->{httpOnly};
|
||||||
defined($httpOnly)
|
|
||||||
? ( $httpOnly eq $args->{httpOnly} ? $httpOnly : $args->{httpOnly} )
|
|
||||||
: 0;
|
|
||||||
$cookieExpiration = $args->{cookieExpiration} || $cookieExpiration;
|
$cookieExpiration = $args->{cookieExpiration} || $cookieExpiration;
|
||||||
$timeoutActivity = $args->{timeoutActivity} || $timeoutActivity || 0;
|
$timeoutActivity = $args->{timeoutActivity} || $timeoutActivity || 0;
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user