From: Jeremy Kerr Date: Tue, 9 Sep 2008 01:15:03 +0000 (+1000) Subject: Fix user/username mismatch on pwclientrc template X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=13f4232358785f4ca89ce1c4605a4b01db1940ef;ds=sidebyside Fix user/username mismatch on pwclientrc template ... and add a comment to the auth section Signed-off-by: Jeremy Kerr --- 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: {% endif %}