This repository was archived by the owner on Aug 25, 2018. It is now read-only.

Description
When trying to change the password, I get the following error below the form in the view:
Error: Firebase.changePassword failed: First argument must contain the key "email" with type "string"
Change password in account.js looks like:
$scope.changePassword = function(oldPass, newPass, confirm) {
$scope.err = null;
if( !oldPass || !newPass ) {
error('Please enter all fields');
}
else if( newPass !== confirm ) {
error('Passwords do not match');
}
else {
Auth.$changePassword({email: profile.email, oldPassword: oldPass, newPassword: newPass})
.then(function() {
success('Password changed');
}, error);
}
};