Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7647d46a

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID 7647d46acbc2a8253c0afeac5c706c3eb76995d5
  • Vorgänger 42dfa9a7
  • Nachfolger ec27f677

Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render

Conflicts:
SL/Controller/FinancialControllingReport.pm
SL/Controller/ProjectType.pm

Unterschiede anzeigen:

SL/Controller/LoginScreen.pm
20 20
  return if $self->_redirect_to_main_script_if_already_logged_in;
21 21

  
22 22
  # Otherwise show the login form.
23
  $self->render('login_screen/user_login', { no_menu => 1 }, error => error_state($::form->{error}));
23
  $self->render('login_screen/user_login', error => error_state($::form->{error}));
24 24
}
25 25

  
26 26
sub action_logout {
......
28 28

  
29 29
  $::auth->destroy_session;
30 30
  $::auth->create_or_refresh_session;
31
  $self->render('login_screen/user_login', { no_menu => 1 }, error => $::locale->text('You are logged out!'));
31
  $self->render('login_screen/user_login', error => $::locale->text('You are logged out!'));
32 32
}
33 33

  
34 34
sub action_login {
......
57 57
  # Other login errors.
58 58
  if (0 > $result) {
59 59
    $::auth->punish_wrong_login;
60
    return $self->render('login_screen/user_login', { no_menu => 1 }, error => $::locale->text('Incorrect username or password!'));
60
    return $self->render('login_screen/user_login', error => $::locale->text('Incorrect username or password!'));
61 61
  }
62 62

  
63 63
  # Everything is fine.

Auch abrufbar als: Unified diff