Skip to content

Can't login after logout #36

@Piterden

Description

@Piterden

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions