1 package SL::Dispatcher::AuthHandler::Admin;
5 use parent qw(Rose::Object);
10 return if $::auth->authenticate_root($::auth->get_session_value('rpw')) == $::auth->OK();
12 $::auth->delete_session_value('rpw');
13 SL::Dispatcher::show_error('login/password_error', 'password', is_admin => 1);