projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auth: fehlerhafte JSON-Requests mit JSON und richtigem HTTP-Response-Code beantworten
[kivitendo-erp.git]
/
SL
/
Dispatcher
/
AuthHandler
/
User.pm
diff --git
a/SL/Dispatcher/AuthHandler/User.pm
b/SL/Dispatcher/AuthHandler/User.pm
index
182d654
..
3748dc1
100644
(file)
--- a/
SL/Dispatcher/AuthHandler/User.pm
+++ b/
SL/Dispatcher/AuthHandler/User.pm
@@
-46,9
+46,8
@@
sub _error {
my $self = shift;
$::auth->punish_wrong_login;
my $self = shift;
$::auth->punish_wrong_login;
+ $::dispatcher->handle_login_error(error => 'password');
- require SL::Controller::Base;
- SL::Controller::Base->new->redirect_to('controller.pl?action=LoginScreen/user_login&error=password');
return 0;
}
return 0;
}