diff --git a/lib/WP_Auth0_Lock10_Options.php b/lib/WP_Auth0_Lock10_Options.php index b1197a24..8c8fcef2 100644 --- a/lib/WP_Auth0_Lock10_Options.php +++ b/lib/WP_Auth0_Lock10_Options.php @@ -204,6 +204,10 @@ public function get_lock_options() { $options_obj['disableSignupAction'] = true; } + if ( function_exists( 'login_header' ) && isset( $_GET['action'] ) && 'register' === $_GET['action'] ) { + $options_obj['initialScreen'] = 'signUp'; + } + return $options_obj; }