[web2py] Re: routes.py breaking login...

2015-04-25 Thread Tom Stratton
Thanks Anthony! In the end I added this to db.py: ``` auth.settings.controller = 'pkg' auth.settings.login_url = URL ('pkg', 'user') ``` and it all worked out On Saturday, April 18, 2015 at 8:15:45 AM UTC-7, Anthony wrote: > > Auth

[web2py] Re: routes.py breaking login...

2015-04-18 Thread Anthony
Auth assumes the login actions are available at /default/user. If you change that, you have to tell Auth. The easiest way is upon initialization: auth = Auth(db, controller='pkg', function='my_user_function') Alternatively, you can subsequently change settings such as auth.settings.controller a