# Can I turn off staged users?

**URL:** https://meta.discourse.org/t/can-i-turn-off-staged-users/40920
**Category:** Feature
**Created:** [11 مارس 2016، 9:25م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920 "2016-03-11T21:25:53Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ryanwanger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanwanger/32/116450_2.png) [@ryanwanger](https://meta.discourse.org/u/ryanwanger)
#### Post date: [11 مارس 2016، 9:25م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/1 "2016-03-11T21:25:53Z")

</div>

When a person tries to email in a topic, and there is no user with that email address, it creates a staged user. Is there a way to turn off that feature?

It’s causing problems for us at the moment. Example: user clicks over from our app to our discourse instance and their user is created via SSO. Then later, back in our app, they change their email address…but don’t click over to discourse (so the change is not propagated). Then they email in from the new email address, and it bounces back saying they aren’t a recognized user. If the were to then try and click over from our app to Discourse, then confusion would ensue because Discourse can’t update the email address of the original (non-staged) user, because it has since been “taken” by the staged user.

At least, this is my best guess as to what is happening.

I believe that deleting the staged user, and then having the person click back into Discourse will appropriately update their original user to the new email address.

TL;DR: there is no benefit to staged users on our Discourse instance (which is private, and accessed via SSO from another app), and it can cause login/access problems in the case of an email change.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [11 مارس 2016، 9:27م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/2 "2016-03-11T21:27:15Z")

</div>

Good idea, what do you think @zogstrip?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [21 مارس 2016، 7:33م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/3 "2016-03-21T19:33:13Z")

</div>

I’m cool with adding a site setting to disable staged users, but what should we do when an email arrives with an unknown email address?

- Reject it?
- Quote it?
- Something else?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21 مارس 2016، 7:34م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/4 "2016-03-21T19:34:22Z")

</div>

Reject seems simplest to me?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [23 مارس 2016، 5:56م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/5 "2016-03-23T17:56:55Z")

</div>

Just added the “`enable_staged_users`” site setting 😉

[https://github.com/discourse/discourse/commit/39863953cde51046ce8beefcaf50b178a90888d4](https://github.com/discourse/discourse/commit/39863953cde51046ce8beefcaf50b178a90888d4)

---

<div class="post-metadata">

### Author: ![ryanwanger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryanwanger/32/116450_2.png) [@ryanwanger](https://meta.discourse.org/u/ryanwanger)
#### Post date: [23 مارس 2016، 10:39م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/6 "2016-03-23T22:39:52Z")

</div>

Amazing - thank you so much!!! ❤ ❤ ❤

---

<div class="post-metadata">

### Author: ![Jared\_Needell](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jared_needell/32/116554_2.png) [@Jared\_Needell](https://meta.discourse.org/u/Jared_Needell)
#### Post date: [23 مارس 2016، 11:08م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/7 "2016-03-23T23:08:54Z")

</div>

Will this send a reject email if we use this feature? Or just a ignore type situation?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [23 مارس 2016، 11:24م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/8 "2016-03-23T23:24:18Z")

</div>

It will send an ignore email (defined by the `email_reject_user_not_found` string) 😉

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [23 مارس 2016، 11:57م UTC](https://meta.discourse.org/t/can-i-turn-off-staged-users/40920/10 "2016-03-23T23:57:37Z")

</div>

This topic was automatically closed after 6 hours. New replies are no longer allowed.
