# 受邀用户没有注册IP？

**URL:** <https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752>\
**Category:** Bug\
**Created:** [2019年三月27日 20:40 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752 "2019-03-27T20:40:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)\
**Post date:** [2019年三月27日 20:40 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/1 "2019-03-27T20:40:49Z")

</div>

So I was checking on an account from a user we were having a problem with and there’s no registration IP for him. Just last IP address. What would cause this?

---

<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:** [2019年三月28日 00:26 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/2 "2019-03-28T00:26:56Z")

</div>

Do you use SSO or other alternative forms of login?

---

<div class="post-metadata">

**Author:** ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)\
**Post date:** [2019年三月28日 00:28 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/3 "2019-03-28T00:28:55Z")

</div>

No we don’t. I don’t have anything else enabled.

---

<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:** [2019年三月28日 01:12 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/4 "2019-03-28T01:12:48Z")

</div>

Any weird reverse proxies or unusual things in front of Discourse?

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2019年三月28日 01:59 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/5 "2019-03-28T01:59:04Z")

</div>

> [@Garrick](#):
>
> So I was checking on an account from a user we were having a problem with and there’s no registration IP for him. Just last IP address. What would cause this?

Did they register, or were they invited?

I’ve just checked a new instance where the only other user right now was invited, and don’t see a registration IP either.

That install is pretty standard, no reverse proxy, Cloudflare or anything else like that in the mix.

---

<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:** [2019年三月28日 01:59 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/6 "2019-03-28T01:59:28Z")

</div>

Hmm can you repro this invite “no tracking of registration IP” behavior @tshenry?

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2019年三月28日 02:01 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/7 "2019-03-28T02:01:36Z")

</div>

Just confirmed it by inviting one more user and registering a third. Users who are invited don’t show a registration IP, the user who I registered by hand did. Hopefully that’s consistent with what @Garrick has experienced.

Would that make this a bug, or is the behavior expected for invited users? Registration IP is presumably for sockpuppet detection, whereas invited users are more trusted?

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2019年三月28日 02:12 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/8 "2019-03-28T02:12:27Z")

</div>

Yep, one more confirmation - no registration IP address for invited users.

---

<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:** [2019年三月28日 02:14 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/9 "2019-03-28T02:14:47Z")

</div>

We should fix that @techapj, low pri.

---

<div class="post-metadata">

**Author:** ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)\
**Post date:** [2019年三月28日 08:05 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/10 "2019-03-28T08:05:18Z")

</div>

Yeah thanks. I just checked and yes another member invited them. I don’t have any reverse proxies or anything in front of them.

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2019年四月13日 07:40 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/12 "2019-04-13T07:40:26Z")

</div>

Fixed via:

[https://github.com/discourse/discourse/commit/95ada3f190499d931eef661adf50115bf9fe1a49](https://github.com/discourse/discourse/commit/95ada3f190499d931eef661adf50115bf9fe1a49)

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2019年四月13日 09:39 UTC](https://meta.discourse.org/t/no-registration-ip-for-invited-user/112752/13 "2019-04-13T09:39:43Z")

</div>


