I am trying to update a user\'s password with the following code
... val credential = EmailAuthProvider.getCredential(userAccount.email!!, oldPass