summaryrefslogtreecommitdiff
path: root/templates/change_password.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/change_password.tpl')
-rw-r--r--templates/change_password.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/change_password.tpl b/templates/change_password.tpl
index 01a9f39..ba5d6a0 100644
--- a/templates/change_password.tpl
+++ b/templates/change_password.tpl
@@ -8,7 +8,7 @@
<div class="body">
{form ipackage=users ifile="change_password.php" secure=$gBitSystem->isFeatureActive("site_https_login_required")}
<input type="hidden" name="user_id" value="{$userInfo.user_id}" />
- {if $userInfo.provpass}
+ {if !empty($userInfo.provpass)}
<input type="hidden" name="provpass" value="{$userInfo.provpass|escape}" />
{/if}
@@ -19,7 +19,7 @@
{/forminput}
</div>
- {if !$userInfo.provpass}
+ {if empty($userInfo.provpass)}
<div class="form-group">
{formlabel label="Old Password" for="oldpass"}
{forminput}