X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4543999aeca36e07555a0fa508cf9d0580e34c70..9db8b697e257cef1e8ffaef832cd650873eb971e:/SL/Dispatcher/AuthHandler/User.pm diff --git a/SL/Dispatcher/AuthHandler/User.pm b/SL/Dispatcher/AuthHandler/User.pm index 182d65442..bd3d29e21 100644 --- a/SL/Dispatcher/AuthHandler/User.pm +++ b/SL/Dispatcher/AuthHandler/User.pm @@ -43,12 +43,11 @@ sub handle { } sub _error { - my $self = shift; + my ($self, %param) = @_; $::auth->punish_wrong_login; + $::dispatcher->handle_login_error(%param, error => 'password'); - require SL::Controller::Base; - SL::Controller::Base->new->redirect_to('controller.pl?action=LoginScreen/user_login&error=password'); return 0; }