When Auth builds its login URL
self.settings.login_url = self.url('user', args='login')
it assumes that there's a function 'user' in the current controller.
In the welcome app template, a login link shows up in every view that
extends layout.html, and that action fails in controllers that don't
define an appropriate user function.
The register and retrieve-password links, however, explicitly address
the default controller, which of course does have a user function.
Is it intended that every controller that extends layout.html have a
copy of default/user?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---