summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-19 17:34:11 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-11-18 12:10:50 +0100
commit6c3f0fd431c8e2dfa79a421c878bb5d15a42c1d5 (patch)
tree9ab481d9512ff8ebb814de4dbf926fdb9f96e142 /settings
parent68fa1e5dd8a588d3903dfee4dab5c740637e0cf6 (diff)
downloadnextcloud-server-6c3f0fd431c8e2dfa79a421c878bb5d15a42c1d5.tar.gz
nextcloud-server-6c3f0fd431c8e2dfa79a421c878bb5d15a42c1d5.zip
Fix error message displaying
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/personal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index aef67f719c0..c2cb437bd13 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);
});
}