1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 01:45:56 +00:00

only show reset password link when auth_internal is enabled (refs #681)

This commit is contained in:
Andrew Dolgov
2013-04-23 22:19:09 +04:00
parent 3a05cddd48
commit 3921f5081b
2 changed files with 6 additions and 0 deletions

View File

@@ -188,6 +188,8 @@ 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>
<input type="password" name="password" required="1"
@@ -197,6 +199,8 @@ function bwLimitChange(elem) {
<a class='forgotpass' href="public.php?op=forgotpass"><?php echo __("I forgot my password") ?></a>
</div>
<?php } ?>
<div class="row">
<label><?php echo __("Language:") ?></label>
<?php