X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d28dde0f9ee82e6400fd0caba165331d561affde..670f76a:/SL/Dispatcher/AuthHandler/Admin.pm diff --git a/SL/Dispatcher/AuthHandler/Admin.pm b/SL/Dispatcher/AuthHandler/Admin.pm index 5a92015f5..7b194ff04 100644 --- a/SL/Dispatcher/AuthHandler/Admin.pm +++ b/SL/Dispatcher/AuthHandler/Admin.pm @@ -7,9 +7,9 @@ use parent qw(Rose::Object); sub handle { %::myconfig = (); - return if $::auth->authenticate_root($::auth->get_session_value('rpw')) == $::auth->OK(); + return if $::auth->authenticate_root($::auth->get_session_value('admin_password')) == $::auth->OK(); - $::auth->delete_session_value('rpw'); + $::auth->delete_session_value('admin_password'); SL::Dispatcher::show_error('login/password_error', 'password', is_admin => 1); }