I am using email/password as a login. After login I want to have an option for the user to be able to change his email used as a login.
say the user logs in with myem...@gmail.com/**** after log in he clicks on a button (change your email), a form is present where he enters his new email as newem...@gmail.com. He logs out, and now he can login with newem...@gmail.com/**** e.g. auth_user.email used to be myem...@gmail.com, after the change to be newem...@gmail.com