updateEmail

private fun updateEmail(email: String, pw: String)

Saves the new email address in the remote database, effectively replacing the old email address of the user.

Parameters

email

New email address of the user.