Fix error message displaying
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
68fa1e5dd8
commit
6c3f0fd431
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue