# Changing users email address

**URL:** <https://meta.discourse.org/t/changing-users-email-address/72119>\
**Category:** Product Support\
**Created:** [15 באוקטובר,‏ 2017,‏ 10:58pm UTC](https://meta.discourse.org/t/changing-users-email-address/72119 "2017-10-15T22:58:21Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)\
**Post date:** [16 בנובמבר,‏ 2018,‏ 1:53am UTC](https://meta.discourse.org/t/changing-users-email-address/72119/12 "2018-11-16T01:53:01Z")

</div>

Four lines, just as shown in the linked topic:

1. `cd /var/discourse`
2. `sudo ./launcher enter app`
3. `rails c`
4. `UserEmail.find_by(email: "oid@example.com").update(email: "new@example.com")`

---

_[View the full topic](https://meta.discourse.org/t/changing-users-email-address/72119)._
