X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDispatcher%2FAuthHandler%2FUser.pm;h=ba5071a1dccb2affa1afc77ad2e2f96b04656519;hb=19c89dfd42c7766b14de78718066270ad09e20de;hp=a1a5bdc84c915b6071c9bf23a3ccd108860e3a83;hpb=305907229bc616658513b73604fc61c3e6613094;p=kivitendo-erp.git diff --git a/SL/Dispatcher/AuthHandler/User.pm b/SL/Dispatcher/AuthHandler/User.pm index a1a5bdc84..ba5071a1d 100644 --- a/SL/Dispatcher/AuthHandler/User.pm +++ b/SL/Dispatcher/AuthHandler/User.pm @@ -38,7 +38,9 @@ sub _error { my $self = shift; $::auth->punish_wrong_login; - print $::request->{cgi}->redirect('controller.pl?action=LoginScreen/user_login&error=password'); + + require SL::Controller::Base; + SL::Controller::Base->new->redirect_to('controller.pl?action=LoginScreen/user_login&error=password'); return 0; }