Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2a496ad8

Von Moritz Bunkus vor mehr als 4 Jahren hinzugefügt

  • ID 2a496ad85e9117b7cfaaa315b208f478eba30ffd
  • Vorgänger 108753a7
  • Nachfolger da1f7513

Auth: fehlerhafte JSON-Requests mit JSON und richtigem HTTP-Response-Code beantworten

Unterschiede anzeigen:

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