Skip to content

Commit

Permalink
Make sure we default to the site's root, no the current folder
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Mar 13, 2019
1 parent 364bc04 commit 6e5918e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/midcom/services/_sessioning.php
Expand Up @@ -60,7 +60,7 @@ protected function prepare_storage()
&& midcom::get()->config->get('auth_backend_simple_cookie_secure'));

return new NativeSessionStorage([
'cookie_path' => midcom_connection::get_url('prefix'),
'cookie_path' => midcom_connection::get_url('prefix') ?: '/',
'cookie_secure' => $cookie_secure,
'cookie_httponly' => true
]);
Expand Down

0 comments on commit 6e5918e

Please sign in to comment.