diff options
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/lostpassword.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/js/lostpassword.js b/core/js/lostpassword.js index 8c770047444..5f81a96cd4f 100644 --- a/core/js/lostpassword.js +++ b/core/js/lostpassword.js @@ -162,14 +162,7 @@ OC.Lostpassword = { resetDone : function(result){ var resetErrorMsg; if (result && result.status === 'success'){ - $.post( - OC.webroot + '/', - { - user : window.location.href.split('/').pop(), - password : $('#password').val() - }, - OC.Lostpassword.redirect - ); + OC.Lostpassword.redirect(); } else { if (result && result.msg){ resetErrorMsg = result.msg; |