updatePassword

private fun updatePassword(oldPw: String, newPw: String)

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

Parameters

oldPw

Old password of the user.

newPw

New password of the user.