def user(): if request.args and request.args[0]=='register': redirect(... somewhere...) return auth()
On Apr 6, 3:26 pm, bsnipes <snipes.br...@gmail.com> wrote: > What is the best way to hide the register option when auth is enabled > in a web2py application? > > Thanks, > Brian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---