Skip to content

Conversation

@danielbachhuber
Copy link
Contributor

@danielbachhuber danielbachhuber commented Feb 13, 2018

Pull it out of the URL when present:

/wp-login.php?redirect_to=http%3A%2F%2Fwp-saml-auth.dev%2Fwp-admin%2Fplugins.php&reauth=1

Otherwise, defer to $_SERVER['REQUEST_URI'] except when already on
wp-login.php

See #111
Previously #112

Pull it out of the URL when present:

```
/wp-login.php?redirect_to=http%3A%2F%2Fwp-saml-auth.dev%2Fwp-admin%2Fplugins.php&reauth=1
```

Otherwise, defer to `$_SERVER['REQUEST_URI']` except when already on
`wp-login.php`
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