Skip to content
Snippets Groups Projects
Unverified Commit 6c3f0fd4 authored by Joas Schilling's avatar Joas Schilling Committed by Lukas Reschke
Browse files

Fix error message displaying

parent 68fa1e5d
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ function changeEmailAddress () { ...@@ -65,7 +65,7 @@ function changeEmailAddress () {
// for failure the first parameter is the result object // for failure the first parameter is the result object
OC.msg.finishedSaving('#lostpassword .msg', result); OC.msg.finishedSaving('#lostpassword .msg', result);
}).fail(function(result){ }).fail(function(result){
OC.msg.finishedSaving('#lostpassword .msg', result.responseJSON); OC.msg.finishedError('#lostpassword .msg', result.responseJSON.message);
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment