Fix password field missing on login form when auth_internal not used

This commit is contained in:
Steven Hiscocks 2013-05-18 23:20:44 +01:00
parent dce5037888
commit 13db181d10
1 changed files with 2 additions and 2 deletions

View File

@ -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>