Skip to content
Permalink
Browse files

Make sure we default to the site's root, no the current folder

  • Loading branch information...
flack committed Mar 13, 2019
1 parent 364bc04 commit 6e5918edcf9cba8b8ea5ebfeb9b76be25bca5ef4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/midcom/services/_sessioning.php
@@ -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
]);

0 comments on commit 6e5918e

Please sign in to comment.
You can’t perform that action at this time.