humanmade / humanmade/Mercator
Unable to login if single sign-on is disabled
Open
bug
- Dominant language
- PHP
- Stars
- 527
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Whenever I disable the single sign on through the filter
```
add_filter( 'mercator.sso.enabled', '__return_false' );
```
I tracked down the cause of this to be the fact that the COOKIE_DOMAIN isn't defined as including something like
```
$dm_domain = $_SERVER[ 'HTTP_HOST' ];
define( 'COOKIE_DOMAIN', $dm_domain );
```
allows it to work again.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.