1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 02:41:28 +00:00

Merge pull request #193 from kwirk/login_form_fix

Fix password field missing on login form when auth_internal not used
This commit is contained in:
Andrew Dolgov
2013-05-18 22:41:22 -07:00

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>