SL::ShopConnector::WooCommerce Kategorien per page
[kivitendo-erp.git] / SL / Dispatcher / AuthHandler / User.pm
index 182d654..bd3d29e 100644 (file)
@@ -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;
 }