]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix error message displaying
authorJoas Schilling <coding@schilljs.com>
Mon, 19 Sep 2016 15:34:11 +0000 (17:34 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 18 Nov 2016 11:10:50 +0000 (12:10 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
settings/js/personal.js

index aef67f719c0b07b3ab21e1bb63dd739ac2908b83..c2cb437bd13a80776ede39a3fe7f3432b34bbd26 100644 (file)
@@ -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);
        });
 }