# Possible bug with 'Redirect After Discourse Login' field

**URL:** <https://meta.discourse.org/t/possible-bug-with-redirect-after-discourse-login-field/62883>\
**Category:** WordPress\
**Created:** [Mai 17, 2017, 2:16 UTC](https://meta.discourse.org/t/possible-bug-with-redirect-after-discourse-login-field/62883 "2017-05-17T14:16:17Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)\
**Post date:** [Juin 12, 2017, 10:18 UTC](https://meta.discourse.org/t/possible-bug-with-redirect-after-discourse-login-field/62883/17 "2017-06-12T22:18:23Z")

</div>

Quick note to follow up on this @simon — I just installed a plugin that adds email verification for Woocommerce-created WP accounts. And I then added the following filter (I saw you mention in another thread) to our functions.php to disable email verification on the Discourse end:

```plaintext
add_filter( 'discourse_email_verification', 'my_prefix_discourse_email_verification' );
function my_prefix_discourse_email_verification( $require_activation, $user_id ) {
    return false;
} 

```

However we just tried with a brand new test user, and the login / new user redirects with [WP Discourse](https://github.com/discourse/wp-discourse) still do not seem to be working. The linked Discourse account seems to be created and functional (and we’re no longer getting the Discourse verification email), so this is almost all working, just still not seeing redirects for the automatic login. Is there perhaps something else I need to add to make this work?

---

_[View the full topic](https://meta.discourse.org/t/possible-bug-with-redirect-after-discourse-login-field/62883)._
