Skip to content

Conversation

@roerch
Copy link

@roerch roerch commented Jun 23, 2020

comment code which checks, whether Wordpress URL is below the Daiquiri URL
since this is not necessarily the case for docker setups
Should be checked whether this leads to problems in old setups before merging

comment code which checks, whether Wordpress URL is below the Daiquiri URL
since this is not necessarily the case for docker setups
@jochenklar
Copy link
Member

If the WordPress URL is not below the Daiquiri URL, Daiquiri cannot delete the WordPress login cookie, therefore a Daiquiri Logout would not trigger a WordPress Logout which would be a Problem. This is the code in Daiquiri which handles the WP Logout: https://github.com/django-daiquiri/daiquiri/blob/master/daiquiri/auth/views.py#L70

@roerch
Copy link
Author

roerch commented Jul 7, 2020

Actually it does work, since in the docker setup, the WordPress cookies are stored with "/" as path. (Sorry, I don't find the code fragment for this right now)

@jochenklar
Copy link
Member

Ok, but then we need to check the domain otherwise we could have faulty setups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants