if not db(db.auth_user).isempty(): auth.settings.disabled_actions.append('register')
and only one user will be able to register. On Sunday, 10 February 2013 12:39:49 UTC-6, rjmolesa wrote: > > I'm interested in branching my current application so that it will be > single user desktop application. As such I don't want the user to have to > register but I want to maintain auth tables and settings. Essentially I > want a user to be able to download the app and begin using it right away as > a 'default' user. Has anyone tackled this before? How did you solve the > issue? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.