summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-26 21:12:18 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-26 21:17:26 +0200
commit5fbf378d1021da91977caa6c7df9944c353d4786 (patch)
tree183fce9734776bfbf4666c6554ad93da49d59acc
parent676838ac31d2fa98266736e59abfcbf6f30fb03b (diff)
downloadnextcloud-server-5fbf378d1021da91977caa6c7df9944c353d4786.tar.gz
nextcloud-server-5fbf378d1021da91977caa6c7df9944c353d4786.zip
Small textual update to password recovery templates
-rw-r--r--lostpassword/templates/lostpassword.php2
-rw-r--r--lostpassword/templates/resetpassword.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/lostpassword/templates/lostpassword.php b/lostpassword/templates/lostpassword.php
index 1c95e0be499..2c38a1562fe 100644
--- a/lostpassword/templates/lostpassword.php
+++ b/lostpassword/templates/lostpassword.php
@@ -7,7 +7,7 @@
<?php if ($_['error']): ?>
<?php echo $l->t('Login failed!'); ?>
<?php endif; ?>
- <input type="text" name="user" id="user" placeholder="<?php echo $l->t('Username or Email'); ?>" value="" autocomplete="off" required autofocus />
+ <input type="text" name="user" id="user" placeholder="<?php echo $l->t('Username'); ?>" value="" autocomplete="off" required autofocus />
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
<?php endif; ?>
</fieldset>
diff --git a/lostpassword/templates/resetpassword.php b/lostpassword/templates/resetpassword.php
index 888d98e8bdc..3ab9dd6543c 100644
--- a/lostpassword/templates/resetpassword.php
+++ b/lostpassword/templates/resetpassword.php
@@ -1,7 +1,8 @@
<form action="<?php echo 'resetpassword.php?'.$_SERVER['QUERY_STRING']; ?>" method="post">
<fieldset>
<?php if($_['success']): ?>
- <?php echo $l->t('Your password was reset'); ?>
+ <h1><?php echo $l->t('Your password was reset'); ?></h1>
+ <p><a href="<?php echo OC::$WEBROOT ?>/"><?php echo $l->t('To login page'); ?></a></p>
<?php else: ?>
<input type="password" name="password" id="password" placeholder="<?php echo $l->t('New password'); ?>" value="" required />
<input type="submit" id="submit" value="<?php echo $l->t('Reset password'); ?>" />