<%doc> Netdot homepage <%args> $title => undef $user => $ui->get_current_user($r) <%init> my $default_page; if ( $user->getAttribute('USER_TYPE') eq 'Admin' || $user->getAttribute('USER_TYPE') eq 'Operator') { $default_page = $r->dir_config('NetdotPath') . "management/"; }elsif ( $user->getAttribute('USER_TYPE') eq 'User' ){ $default_page = $r->dir_config('NetdotPath') . "user_management/"; } % $m->redirect($default_page);