]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/admin.pl
Merge fix
[mfinanz.git] / bin / mozilla / admin.pl
index b8b4cfe449f7496a85402b5eba7dc2d6c43149f6..ebf01c67930cbc8c55a2ba117d9b6fbcbf20dc44 100755 (executable)
@@ -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()) {