I

On Sep 25, 6:24 pm, Jurgis Pralgauskis <[email protected]>
wrote:
> hello,
> I followed the example 
> fromhttp://web2py.com/book/default/chapter/08#Decorators
>
> @auth.requires(auth.user_id==1 or request.client=='127.0.0.1')
> def function_six():
>     return 'you can read secret documents'
>
> but it doesn't work -- it asks to login anyway.
>
> and just in case I tested with ping and in session names: my localhost
> is really 127.0.0.1

Reply via email to