Re: SecurityComponent::requireLogin() with type 'basic' not working

2009-02-23 Thread Martin Westin
When you specify the "login" you are telling the component that you will handle the authentication in that method. To make a login fail from that method you must "black-hole" the request. Return values below do nothing but they should imho. $this->Security->loginOptions = array( 'type'=>'bas

SecurityComponent::requireLogin() with type 'basic' not working

2009-02-23 Thread kazooka
Can someone please explain some things about the security component for me? I've used cake before but not with the security component and now I'm having trouble understanding some code that was written by somebody else involving the loginRequired() method It's a pretty simple app with only a