# Allowing users to change their email address

**URL:** <https://community.glideapps.com/t/allowing-users-to-change-their-email-address/19007>\
**Category:** Ask for Help\
**Created:** [November 27, 2020, 2:24pm UTC](https://community.glideapps.com/t/allowing-users-to-change-their-email-address/19007 "2020-11-27T14:24:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 29, 2020, 7:25am UTC](https://community.glideapps.com/t/allowing-users-to-change-their-email-address/19007/3 "2020-11-29T07:25:50Z")

</div>

So, the last time I tested the changing of an email on an ‘allowed email list’, my experience was that I was immediately signed out, the original email no longer worked, and I had to sign in with the new email. The process seemed to work as expected. I would have to test again to see if any of that has changed.

> [@Security of signed in Users](https://community.glideapps.com/t/security-of-signed-in-users/15644/9):
>
> I tried this out in my app. Instead of removing an email, I just changed it, so the original signed in email was no longer in the whitelist. I first changed the email in the google sheet. It can take up to a few minute for google to send the change to glide, but after a minute I hit the reload button in glide and it booted me out of the app on my phone within seconds. I then reset, signed back in, and tried by changing the email directly in the glide data editor. It took about 10 to 30 seco…

The fact that you got a blank screen and could still sign in surprises me. Were you still able to sign in after a few minutes after glide re-synced the sheet? Was your test using the script or by directly editing the whitelist email through the app?

In the old post you referenced I mentioned the use of a user id instead of an email to link data and to use for filters. A lot has changed in a year with security, and with the addition of row owners, it now requires the use of an email in each sheet for data that needs to be secure, so there is a need for something, such as a script, to update the email throughout the spreadsheet. On the other hand, if you are not actively using the Roles feature, you could assign the role to the user id column in the user profile, use that ID instead of email in all your sheets, and then assign row owners to that ID column in each sheet. That way you only need to update the email in the user profile sheet, and that can be done without a script by instead allowing the user to edit the email themselves in Edit mode (if it works).

I will have to play around again, but I really think it should have signed you out once the email is changed in the user profile/whitelist sheet. In my tests I was more focused on an admin type user “blacklisting” a whitelisted user. I didn’t test as the user changing the email themselves. I’m guessing it maybe caused an app crash since the email didn’t match on the local device database and couldn’t sync back to the glide server database. That’s why you were able to refresh and sign back in with the same email.

---

_[View the full topic](https://community.glideapps.com/t/allowing-users-to-change-their-email-address/19007)._
