You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rememberme was not working correctly on my site, because the cookie path was being set to a subdirectory (the url path where users mostly commonly login) rather then the root of the site. The issue seems to be on line 423 of Controller.php:
Rememberme was not working correctly on my site, because the cookie path was being set to a subdirectory (the url path where users mostly commonly login) rather then the root of the site. The issue seems to be on line 423 of Controller.php:
$cookie->setPath($this->grav['base_url_relative']);
In my instance, $this->grav['base_url_relative'] returns ''. I'm not sure, but this my be related to a closed grav core bug:
getgrav/grav#868
I resolved this by setting $cookie->setPath('/') but that does not seem like a reliable fix.
The text was updated successfully, but these errors were encountered: