diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-19 17:34:11 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-18 12:10:50 +0100 |
commit | 6c3f0fd431c8e2dfa79a421c878bb5d15a42c1d5 (patch) | |
tree | 9ab481d9512ff8ebb814de4dbf926fdb9f96e142 /settings | |
parent | 68fa1e5dd8a588d3903dfee4dab5c740637e0cf6 (diff) | |
download | nextcloud-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.js | 2 |
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); }); } |