This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 48a5caff env not needed after call
48a5caff is described below

commit 48a5caff19f2262bae27a0c7f6d949546c2c5a30
Author: Sebb <[email protected]>
AuthorDate: Sun Jan 8 01:08:50 2023 +0000

    env not needed after call
---
 www/committers/tm-report.cgi  | 2 +-
 www/officers/unlistedclas.cgi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/committers/tm-report.cgi b/www/committers/tm-report.cgi
index ba657301..06cdd38a 100755
--- a/www/committers/tm-report.cgi
+++ b/www/committers/tm-report.cgi
@@ -100,7 +100,7 @@ end
 # Display the form
 def emit_form()
   # Store auth so we know Apache ID of submitter
-  user = ASF::Auth.decode(env = {})
+  user = ASF::Auth.decode({})
   docket = JSON.parse(File.read(File.join(ASF::SVN['brandlist'], 
'docket.json'))) # To annotate pmcs with (R) symbol
   committees = Public.getJSON('committee-info.json')['committees']
 
diff --git a/www/officers/unlistedclas.cgi b/www/officers/unlistedclas.cgi
index 553280b9..f238e407 100755
--- a/www/officers/unlistedclas.cgi
+++ b/www/officers/unlistedclas.cgi
@@ -8,7 +8,7 @@ require 'whimsy/asf'
 require 'whimsy/asf/forms'
 require 'whimsy/asf/rack'
 
-user = ASF::Auth.decode(env = {})
+user = ASF::Auth.decode({})
 unless user.asf_member? or ASF.pmc_chairs.include? user
   print "Status: 401 Unauthorized\r\n"
   print "WWW-Authenticate: Basic realm=\"ASF Members and Officers\"\r\n\r\n"

Reply via email to