summaryrefslogtreecommitdiff
path: root/include/login_form.php
diff options
context:
space:
mode:
authorSteven Hiscocks <[email protected]>2013-05-18 23:20:44 +0100
committerSteven Hiscocks <[email protected]>2013-05-18 23:20:44 +0100
commit13db181d10d44935fd6af335b2bca7c26886a2f6 (patch)
tree972f1a2e3978b1b5474a0bec3cc466e42dd985e1 /include/login_form.php
parentdce5037888968788518dfdb6b1c29f3863238b92 (diff)
Fix password field missing on login form when auth_internal not used
Diffstat (limited to 'include/login_form.php')
-rw-r--r--include/login_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/login_form.php b/include/login_form.php
index b7dae1016..ba31615ea 100644
--- a/include/login_form.php
+++ b/include/login_form.php
@@ -188,7 +188,6 @@ function bwLimitChange(elem) {
value="<?php echo $_SESSION["fake_login"] ?>" />
</div>
- <?php if (strpos(PLUGINS, "auth_internal") !== FALSE) { ?>
<div class="row">
<label><?php echo __("Password:") ?></label>
@@ -196,10 +195,11 @@ function bwLimitChange(elem) {
style="width : 220px" class="input"
value="<?php echo $_SESSION["fake_password"] ?>"/>
<label></label>
+ <?php if (strpos(PLUGINS, "auth_internal") !== FALSE) { ?>
<a class='forgotpass' href="public.php?op=forgotpass"><?php echo __("I forgot my password") ?></a>
+ <?php } ?>
</div>
- <?php } ?>
<div class="row">
<label><?php echo __("Profile:") ?></label>