summaryrefslogtreecommitdiffstats
path: root/core/lostpassword/templates
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/lostpassword/templates
parent218d0add36f873e7cdfdd32608883ea431eb2af9 (diff)
downloadnextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.tar.gz
nextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.zip
Change routes. Update templates
Diffstat (limited to 'core/lostpassword/templates')
-rw-r--r--core/lostpassword/templates/resetpassword.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lostpassword/templates/resetpassword.php b/core/lostpassword/templates/resetpassword.php
index 3f2cade08ce..0184ace8d1c 100644
--- a/core/lostpassword/templates/resetpassword.php
+++ b/core/lostpassword/templates/resetpassword.php
@@ -1,4 +1,4 @@
-<form action="<?php print_unescaped($_['link']) ?>" method="post">
+<form action="<?php print_unescaped($_['link']) ?>" id="reset-password" method="post">
<fieldset>
<p>
<label for="password" class="infield"><?php p($l->t('New password')); ?></label>
@@ -7,3 +7,4 @@
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
</fieldset>
</form>
+<?php OCP\Util::addScript('core', 'lostpassword'); ?>