whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: change to not password (as that indicates running in test mode)
Date Sun, 04 Aug 2019 19:15:25 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 8fabe9e  change to not password (as that indicates running in test mode)
8fabe9e is described below

commit 8fabe9e04a1d856f3d185382cb79d53205cadfde
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun Aug 4 15:14:56 2019 -0400

    change to not password (as that indicates running in test mode)
---
 www/board/agenda/views/actions/post.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/views/actions/post.json.rb b/www/board/agenda/views/actions/post.json.rb
index 4225bbc..e6427dc 100644
--- a/www/board/agenda/views/actions/post.json.rb
+++ b/www/board/agenda/views/actions/post.json.rb
@@ -19,7 +19,7 @@ attach = nil
 # Determine if user is authorized
 user = ASF::Person.find(env.user)
 member_or_officer = user.asf_member? or ASF.pmc_chairs.include? user
-credentials = (member_or_officer and env.password) ? 
+credentials = (member_or_officer or not env.password) ? 
   nil : [['--username', 'whimsysvn']]
 
 # prepend user id to message if whimsysvn role account is used


Mime
View raw message