-
Notifications
You must be signed in to change notification settings - Fork 92
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
Redirect to logout of Auth0 on callback error #666
Conversation
@@ -159,7 +159,7 @@ public function init_auth0() { | |||
|
|||
// Not an Auth0 login process or settings are not configured to allow logins. | |||
if ( ! $this->query_vars( 'auth0' ) || ! WP_Auth0::ready() ) { | |||
return; | |||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The return value is not used anywhere except in tests.
*/ | ||
protected function die_on_login( $msg = '', $code = 0, $login_link = true ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the parameter here is not a breaking change.
@@ -32,35 +32,35 @@ public function __construct( WP_Auth0_Options_Generic $options ) { | |||
public function init() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No removals, just reordering the option display.
Changes
Testing
Checklist