diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:48:20 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:48:20 +0200 |
commit | 21a88613a150c550e32d63df9a9ef8bf3d5107d0 (patch) | |
tree | 45e76fbae9349265489dbebe5aef090f45e49a85 /lostpassword/templates/lostpassword.php | |
parent | ddd28aae67d7e67b7e39c1fe58fe52659d1dd755 (diff) | |
parent | 5fbf378d1021da91977caa6c7df9944c353d4786 (diff) | |
download | nextcloud-server-21a88613a150c550e32d63df9a9ef8bf3d5107d0.tar.gz nextcloud-server-21a88613a150c550e32d63df9a9ef8bf3d5107d0.zip |
Merge branch 'lostpassword'
Conflicts:
core/templates/login.php
index.php
lib/util.php
Diffstat (limited to 'lostpassword/templates/lostpassword.php')
-rw-r--r-- | lostpassword/templates/lostpassword.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lostpassword/templates/lostpassword.php b/lostpassword/templates/lostpassword.php new file mode 100644 index 00000000000..2c38a1562fe --- /dev/null +++ b/lostpassword/templates/lostpassword.php @@ -0,0 +1,14 @@ +<form action="index.php" method="post"> + <fieldset> + <?php echo $l->t('You will receive a link to reset your password via Email.'); ?> + <?php if ($_['requested']): ?> + <?php echo $l->t('Requested'); ?> + <?php else: ?> + <?php if ($_['error']): ?> + <?php echo $l->t('Login failed!'); ?> + <?php endif; ?> + <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> +</form> |