ave S napsal(a):
>
> This should only be done for testing purposes, right? Because the point
> of the check of is_local is to prevent unknown users from getting to the
> admin app.
>
> /dps
>
>
> On Monday, May 5, 2014 7:21:37 AM UTC-7, Martin Lohner wrote:
>>
>>
Hi...
try this:
request.is_local=True
in
web2py\applications\admin\models\access.py (on line 21) resp. before this
code:
*if request.env.http_x_forwarded_for or request.is_https:*
*session.secure()*
*elif not request.is_local and not DEMO_MODE:*
*raise HTTP(200, T('Admin is disabled b
2 matches
Mail list logo