Revision 2a496ad8
Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt
SL/Dispatcher/AuthHandler/User.pm | ||
---|---|---|
46 | 46 |
my $self = shift; |
47 | 47 |
|
48 | 48 |
$::auth->punish_wrong_login; |
49 |
$::dispatcher->handle_login_error(error => 'password'); |
|
49 | 50 |
|
50 |
require SL::Controller::Base; |
|
51 |
SL::Controller::Base->new->redirect_to('controller.pl?action=LoginScreen/user_login&error=password'); |
|
52 | 51 |
return 0; |
53 | 52 |
} |
54 | 53 |
|
Auch abrufbar als: Unified diff
Auth: fehlerhafte JSON-Requests mit JSON und richtigem HTTP-Response-Code beantworten