X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDispatcher%2FAuthHandler%2FUser.pm;h=bd3d29e2161c29493a9d796e714506005551ec40;hb=33823a7743de188f6e37802716ee5bd877a3ec5f;hp=182d654425b1db8575bf60bae339a38588979062;hpb=822f5cf7db806f963758849e1e944340a9233a0d;p=kivitendo-erp.git 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; }