Skip to content

remove Wordpress check - #1

Open
roerch wants to merge 1 commit into
django-daiquiri:masterfrom
roerch:docker-mods
Open

remove Wordpress check#1
roerch wants to merge 1 commit into
django-daiquiri:masterfrom
roerch:docker-mods

Conversation

@roerch

@roerch roerch commented Jun 23, 2020

Copy link
Copy Markdown

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
Copy Markdown
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

roerch commented Jul 7, 2020

Copy link
Copy Markdown
Author

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
Copy Markdown
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