>
> 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/register
http://.../[app]/default/user/login
http://.../[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

Reply via email to