diff --git a/settings/js/personal.js b/settings/js/personal.js index aef67f719c0b07b3ab21e1bb63dd739ac2908b83..c2cb437bd13a80776ede39a3fe7f3432b34bbd26 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -65,7 +65,7 @@ function changeEmailAddress () { // for failure the first parameter is the result object OC.msg.finishedSaving('#lostpassword .msg', result); }).fail(function(result){ - OC.msg.finishedSaving('#lostpassword .msg', result.responseJSON); + OC.msg.finishedError('#lostpassword .msg', result.responseJSON.message); }); }