]> git.wh0rd.org - tt-rss.git/commitdiff
Fix password field missing on login form when auth_internal not used
authorSteven Hiscocks <steven@hiscocks.me.uk>
Sat, 18 May 2013 22:20:44 +0000 (23:20 +0100)
committerSteven Hiscocks <steven@hiscocks.me.uk>
Sat, 18 May 2013 22:20:44 +0000 (23:20 +0100)
include/login_form.php

index b7dae10166c77bfaa00d6ad7254baa5a4ac85e14..ba31615ead296ef0bdba8030b336e31321da533a 100644 (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>