Revision 67376071
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/Controller/Admin.pm | ||
---|---|---|
37 | 37 |
sub action_login { |
38 | 38 |
my ($self) = @_; |
39 | 39 |
|
40 |
return $self->redirect_to(action => 'show') if $::auth->authenticate_root == SL::Auth::OK(); |
|
41 |
return $self->login_form if !$::form->{do_login}; |
|
42 |
return if !$self->authenticate_root; |
|
43 |
return if !$self->check_auth_db_and_tables; |
|
44 |
return if $self->apply_dbupgrade_scripts; |
|
40 |
return $self->redirect_to(action => 'show') if $::auth->authenticate_root == SL::Auth::OK();
|
|
41 |
return $self->login_form if !$::form->{do_login};
|
|
42 |
return if !$self->authenticate_root;
|
|
43 |
return if !$self->check_auth_db_and_tables;
|
|
44 |
return if $self->apply_dbupgrade_scripts;
|
|
45 | 45 |
$self->redirect_to(action => 'show'); |
46 | 46 |
} |
47 | 47 |
|
Auch abrufbar als: Unified diff
Kosmetik: Alignment