From: Moritz Bunkus Date: Tue, 21 Sep 2010 13:00:46 +0000 (+0200) Subject: Nach Anmeldung an Administrationsbereich Passwort in Session speichern X-Git-Tag: release-2.6.2beta1~124 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=85b53fd204666e217b3308096e1bad8a29433ad3;p=kivitendo-erp.git Nach Anmeldung an Administrationsbereich Passwort in Session speichern --- diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index b1bdcb219..891c4ba42 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -79,7 +79,10 @@ sub run { $form->{error_message} = $locale->text('Incorrect Password!'); adminlogin(); } else { - $auth->create_or_refresh_session() if ($auth->session_tables_present()); + if ($auth->session_tables_present()) { + $::auth->set_session_value('rpw', $::form->{rpw}); + $::auth->create_or_refresh_session(); + } call_sub($locale->findsub($form->{action})); } } elsif ($auth->authenticate_root($form->{rpw}, 0) == $auth->OK()) {