On Apr 29, 2006, at 2:28 PM, Ed Pigg wrote:

Changes to the derived package adding
use base 'myapp::Base';

__PACKAGE__->authen->protected_runmodes(':all');
.....
added the login run_mode from the base class and now I am getting the login run_mode when attempting to access the derived class without logging in. I have not tested other calls. I'm still working on the authentication aspect.

sub setup {
        my $self = shift;
        $self->runmodes( { 'login' => 'login',                    login is in 
base class
                           'others....
for clarity

Ed Pigg

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to