summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-09 11:15:03 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-09 11:15:03 +1000
commit13f4232358785f4ca89ce1c4605a4b01db1940ef (patch)
tree988adbd8ebb32f161d87cb24a7e2f6f4a39d03e4
parentcefda5060a4916fcb0dca472eb300d4516ad30ef (diff)
downloadpatchwork-13f4232358785f4ca89ce1c4605a4b01db1940ef.tar.bz2
patchwork-13f4232358785f4ca89ce1c4605a4b01db1940ef.tar.xz
Fix user/username mismatch on pwclientrc template
... and add a comment to the auth section Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--templates/patchwork/pwclientrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc
index 79a0f3b..5fb1f47 100644
--- a/templates/patchwork/pwclientrc
+++ b/templates/patchwork/pwclientrc
@@ -6,9 +6,10 @@
[base]
url: http://{{site.domain}}{% url patchwork.views.xmlrpc.xmlrpc %}
project: {{ project.linkname }}
-
{% if user.is_authenticated %}
+# Adding authentication parameters will allow you to use the 'update'
+# command on patches that you are allowed to edit.
[auth]
-user: {{ user.username }}
+username: {{ user.username }}
password: <add your patchwork password here>
{% endif %}