Skip to content

Commit

Permalink
Fix checkbox value
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Jul 11, 2024
1 parent 0e8156c commit 3c2dd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/display.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
</div>
{if $use_resetpassword_resetchoice}
<div class="form-check form-switch mb-3">
<input class="form-check-input" type="checkbox" role="switch" name="pwdreset" id="pwdresetcheckbox"{if $resetpassword_reset_default} checked{/if} value="{if $resetpassword_reset_default}true{else}false{/if}" >
<input class="form-check-input" type="checkbox" role="switch" name="pwdreset" id="pwdresetcheckbox"{if $resetpassword_reset_default} checked{/if} value="true" >
<label class="form-check-label" for="pwdresetcheckbox">{$msg_forcereset}</label>
</div>
{else}
Expand Down

0 comments on commit 3c2dd2d

Please sign in to comment.