summaryrefslogtreecommitdiffstats
path: root/core/js/lostpassword.js
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-06-03 01:24:27 +0300
committerMorris Jobke <hey@morrisjobke.de>2014-06-13 15:34:52 +0200
commit4b359ad20c504caaab737514185863a2af0df53e (patch)
treec1e62238e8890874bcaaf194efc2e15f0bf844fd /core/js/lostpassword.js
parent218d0add36f873e7cdfdd32608883ea431eb2af9 (diff)
downloadnextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.tar.gz
nextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.zip
Change routes. Update templates
Diffstat (limited to 'core/js/lostpassword.js')
-rw-r--r--core/js/lostpassword.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/lostpassword.js b/core/js/lostpassword.js
index cfce4564f83..19e2cf5a4b6 100644
--- a/core/js/lostpassword.js
+++ b/core/js/lostpassword.js
@@ -30,7 +30,7 @@ OC.Lostpassword = {
$('#submit').trigger('click');
} else {
$.post(
- OC.filePath('core', 'ajax', 'password/lost'),
+ OC.generateUrl('/lostpassword/email'),
{
user : $('#user').val(),
proceed: $('#encrypted-continue').attr('checked') ? 'Yes' : 'No'