mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Fix error message displaying
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
68fa1e5dd8
commit
6c3f0fd431
@ -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 New Issue
Block a user