fixed error in admin login

This commit is contained in:
mdipierro
2012-09-03 08:47:10 -05:00
parent 29c513e5a3
commit 73c66c142d
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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&trade; {{=T('Web Framework')}}</h2>
<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">
<div><input type="hidden" name="send" value="{{=send}}"/></div>
<table>
@@ -11,4 +13,6 @@
</table>
</form>
</div>
{{else:}}
<p class="help">{{=T('ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.')}}</p>
{{pass}}