# Auto activated accounts for WP Discourse SSO?

**URL:** https://meta.discourse.org/t/auto-activated-accounts-for-wp-discourse-sso/90272
**Category:** WordPress
**Created:** [20.Июнь.2018 05:35:47 UTC](https://meta.discourse.org/t/auto-activated-accounts-for-wp-discourse-sso/90272 "2018-06-20T05:35:47Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [20.Июнь.2018 07:20:50 UTC](https://meta.discourse.org/t/auto-activated-accounts-for-wp-discourse-sso/90272/6 "2018-06-20T07:20:50Z")

</div>

As long as users are not automatically logged in before responding to the password reset email, you can use this function. It will work without any changes:

```plaintext
add_filter( 'discourse_email_verification', 'wpdc_custom_disable_email_verification' );
function wpdc_custom_disable_email_verification() {

    return false;
}

```

---

_[View the full topic](https://meta.discourse.org/t/auto-activated-accounts-for-wp-discourse-sso/90272)._
