Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login after logout #36

Open
Piterden opened this issue Dec 4, 2015 · 0 comments
Open

Can't login after logout #36

Piterden opened this issue Dec 4, 2015 · 0 comments

Comments

@Piterden
Copy link

Piterden commented Dec 4, 2015

Lets imagine that we have one-page website.
When we have logout the site - we have redirecting to page with POST parameters like

http://your-site.com/?service=logout

Now if we don't refresh page and want to login to site again - your plugin after login makes redirect back to page http://your-site.com/?service=logout

I solve this problem, adding $arr = str_replace(["service=logout&", "?service=logout"], "", $arr); code to the end of HybridAuth snippet.
I suppose it is not actually right solution and so I decided not to do pull-request.

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

No branches or pull requests

1 participant