Auto activated accounts for WP Discourse SSO?

Hello,

I have a similar problem with the activation. I added this code in my functions.php file and when I want to log on discourse I have this error message :

Your account is pending approval. You will receive an email notification when you are approved.

How can I automatically approved new account ?

Thanks for your help,
Eric