Yea I just noticed this also. Also, does anyone know how to get a user ID or session information?
When a user log's in, in my template it would be nice to have the users name greeted like <h1>Welcome, [session.userid]</h1> and also, using a current user-id as a default for a SQLFORM? thanks guys! On Mar 26, 7:39 pm, Vidul Petrov <vidul.r...@gmail.com> wrote: > Hi, > > All online examples about the auth object decorator usage seem like > this (note ":" at the end): > > @auth.requires_login(): > > and this does not work, unless it's changed to: > > @auth.requires_login() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---