From c7f211c743829e058b9e8ddf8e30428c934a433b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 17 Jun 2013 15:09:37 +0200 Subject: [PATCH] Revert von a3ae31c und 6737607 Leider verhindert der auch, dass die Upgrades angewendet werden... --- SL/Controller/Admin.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SL/Controller/Admin.pm b/SL/Controller/Admin.pm index 85a4672a6..4e46e9879 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->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'); } -- 2.20.1