fixed error in admin login
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.0.6 (2012-09-03 08:17:01) stable
|
Version 2.0.6 (2012-09-03 08:47:06) stable
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
<h2>web2py™ {{=T('Web Framework')}}</h2>
|
<h2>web2py™ {{=T('Web Framework')}}</h2>
|
||||||
<h3>{{=T('Login to the Administrative Interface')}}</h3>
|
<h3>{{=T('Login to the Administrative Interface')}}</h3>
|
||||||
<div>
|
|
||||||
|
{{if request.is_https or request.is_local:}}
|
||||||
|
<div class="form">
|
||||||
<form action="{{=URL(r=request)}}" method="post">
|
<form action="{{=URL(r=request)}}" method="post">
|
||||||
<div><input type="hidden" name="send" value="{{=send}}"/></div>
|
<div><input type="hidden" name="send" value="{{=send}}"/></div>
|
||||||
<table>
|
<table>
|
||||||
@@ -11,4 +13,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
{{else:}}
|
||||||
|
<p class="help">{{=T('ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.')}}</p>
|
||||||
|
{{pass}}
|
||||||
|
|||||||
Reference in New Issue
Block a user