I configured my wordpress site with SSO and when I return to my Discourse site I get the message
An account could not be registered with the email address . Please contact the site’s administrator.
On google I found that I must disable email verification on wordpress (How to turn off Discourse email verification?).
So I modified discourse-sso.php in my wordpress site as
$require_activation = apply_filters( ‘discourse_email_verification’, $require_activation, $user_id );
$require_activation = apply_filters( ‘discourse_email_verification’, false, $user_id );
but with no luck
Can anyone tell me how can I overcome this problem