This is an automated email from the ASF dual-hosted git repository.
clr 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 a7aebcd Fix credentials for template.txt
a7aebcd is described below
commit a7aebcd617455a91d1772c9b6446fb23ee2c2e09
Author: Craig L Russell <[email protected]>
AuthorDate: Wed Jun 24 11:25:45 2020 -0700
Fix credentials for template.txt
---
www/officers/coi.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index 3816d7c..b80882e 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -67,7 +67,7 @@ def get_affirmed_template(user, password, name, timestamp)
Date: __
Metadata: _______________Whimsy www/officers/coi.cgi________________'
template, err =
- ASF::SVN.svn('cat', COI_CURRENT_TEMPLATE_URL, {user: user, password:
password})
+ ASF::SVN.svn('cat', COI_CURRENT_TEMPLATE_URL, {user: $USER, password:
$PASSWORD})
raise RuntimeError.new("Failed to read current template.txt") if err
centered_name = "#{name}".center(60, '_')
centered_date ="#{timestamp}".center(61, '_')