Thanks, I misread the epydoc. I think I'm slowly getting an idea of how auth works.
On Feb 24, 3:17 pm, Anthony <[email protected]> wrote: > > Hi, not sure if this is a silly question. The documentation says that > > Auth exposes login.html, logout.html.. > > Where does it say that? In the Access Control chapter, it says: > > The controller above exposes multiple actions: > > 1. > 2. > 3. > > http://.../[app]/default/user/registerhttp://.../[app]/default/user/loginhttp://.../[app]/default/user/logout > > etc. > > Note, in those URLs, "user" is the function, and the associated view is > therefore /default/user.html. "register", "login", "logout", etc. are args, > which are processed by the auth object to produce the appropriate > form/behavior. The user.html view is designed to display whichever form is > generated by auth, with some special logic for particular URL args. Note, a > URL like /default/user/login.html would not work, because the extension > must be attached to the function, not the arg -- so if you want to add the > extension, the correct URL would be /default/user.html/login (though that > is unnecessary, because the extension defaults to "html"). > > Anthony

