You don't need to use a view for the login method. What you need to
do, is to redirect back to the page with the login element, when the
login fails!
Likewise you redirect to the resulting page (may be the same), when
the login succeeds!
If you do that, then you will never end up staying in the login method
and thus never needs a login view.
Enjoy,
   John

On Feb 20, 10:14 pm, Bryan <[email protected]> wrote:
> Hi, new to cake. I'm building a little thing, I want the login to be
> as a login box, rather than a dedicated view. I created an element,
> virtually a copy of the login.ctp required by Auth, and it looks OK,
> but cake/Auth stll insists that there be a login.ctp in my users
> views, which I don't want.
>
> How to get around that?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to