i write a use administration interface and i would distinguish
between "silly" users and admins. the point in this is not to
intimidate the users with screens which could confuse them but
bring them to the "password-changing" page right away.
so it put this code in sub setup{}:
# set the default mode for users
if ( is_silly( $remote_user ) ) {
$self->start_mode('EditUserData');
$self->query->params( -name => "user_name" ,
-value => $remote_user );
}
else {
$self->start_mode('AdminSearch');
}
the problem is that this seems to have no effect. the users still
end up on the "adminSearch" page. how should this be done
properly?
---------------------------------------------------------------------
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]