From: Moritz Bunkus Date: Mon, 17 Jun 2013 09:03:47 +0000 (+0200) Subject: Kosmetik: Alignment X-Git-Tag: release-3.1.0beta1~315 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6737607;p=kivitendo-erp.git Kosmetik: Alignment --- diff --git a/SL/Controller/Admin.pm b/SL/Controller/Admin.pm index e1d26fd8c..85a4672a6 100644 --- a/SL/Controller/Admin.pm +++ b/SL/Controller/Admin.pm @@ -37,11 +37,11 @@ sub keep_auth_vars { sub action_login { my ($self) = @_; - return $self->redirect_to(action => 'show') if $::auth->authenticate_root == SL::Auth::OK(); - return $self->login_form if !$::form->{do_login}; - return if !$self->authenticate_root; - return if !$self->check_auth_db_and_tables; - return if $self->apply_dbupgrade_scripts; + return $self->redirect_to(action => 'show') if $::auth->authenticate_root == SL::Auth::OK(); + return $self->login_form if !$::form->{do_login}; + return if !$self->authenticate_root; + return if !$self->check_auth_db_and_tables; + return if $self->apply_dbupgrade_scripts; $self->redirect_to(action => 'show'); }