[UPDATE] CSRF to Mobile template
This commit is contained in:
parent
bef4298e1f
commit
63f062af9d
@ -1,5 +1,6 @@
|
|||||||
<form action="{$smarty.server.SCRIPT_NAME}?page=login" method="post" id="loginForm" data-ajax="false">
|
<form action="{$smarty.server.SCRIPT_NAME}?page=login" method="post" id="loginForm" data-ajax="false">
|
||||||
<input type="hidden" name="to" value="{($smarty.request.to|default:"{$smarty.server.SCRIPT_NAME}?page=dashboard")|escape}" />
|
<input type="hidden" name="to" value="{($smarty.request.to|default:"{$smarty.server.SCRIPT_NAME}?page=dashboard")|escape}" />
|
||||||
|
{if $GLOBAL.csrf.enabled && $GLOBAL.csrf.forms.login}<input type="hidden" name="ctoken" value="{$CTOKEN}" />{/if}
|
||||||
<p><input type="text" name="username" value="" id="userForm" maxlength="20"></p>
|
<p><input type="text" name="username" value="" id="userForm" maxlength="20"></p>
|
||||||
<p><input type="password" name="password" value="" id="passForm" maxlength="20"></p>
|
<p><input type="password" name="password" value="" id="passForm" maxlength="20"></p>
|
||||||
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>
|
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user