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

Add support for subdomains and different scheme URLs for redirect #512

Merged
merged 2 commits into from
Aug 3, 2018

Conversation

joshcanhelp
Copy link
Contributor

@joshcanhelp joshcanhelp commented Jul 31, 2018

Allows different schemes and subdomains to be used as the login redirection URL.

Closes #459.

$input['default_login_redirection'] = strtolower( $input['default_login_redirection'] );

// No change so no validation needed.
if ( $input['default_login_redirection'] === $old_options['default_login_redirection'] ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

old_options will always be lower string?

@joshcanhelp joshcanhelp changed the title Add support for subdomains and different sheme URLs for redirect Add support for subdomains and different scheme URLs for redirect Aug 2, 2018
Copy link
Member

@cocojoe cocojoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joshcanhelp joshcanhelp merged commit 6cf6332 into dev Aug 3, 2018
@joshcanhelp joshcanhelp deleted the fix-redirect-url-validation branch August 3, 2018 05:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants