Skip to content
Permalink
Browse files
Ensure $c->{cookie_domain} can still be set if $c->{host} is undef fo…
…r HTTPS only.
  • Loading branch information
drn05r committed Jan 7, 2022
1 parent 4bb583d commit bde3347551e0424fbbc166e52c9179b6e17b6704
Showing 2 changed files with 2 additions and 2 deletions.
@@ -44,7 +44,7 @@
$c->{allow_user_removal_request} = 1;

# domain for the login and lang. cookies to be set in.
$c->{cookie_domain} = $c->{host};
$c->{cookie_domain} = defined $c->{host} ? $c->{host} : $c->{securehost};

######################################################################
#
@@ -44,7 +44,7 @@
$c->{allow_user_removal_request} = 1;

# domain for the login and lang. cookies to be set in.
$c->{cookie_domain} = $c->{host};
$c->{cookie_domain} = defined $c->{host} ? $c->{host} : $c->{securehost};

######################################################################
#

0 comments on commit bde3347

Please sign in to comment.