Blame SOURCES/0180-uploader-allow-empty-username-and-password.patch

2c83a8
From 980b86a44ac0129cb5871fb94b66233df78a35cf Mon Sep 17 00:00:00 2001
2c83a8
From: Matej Habrnal <mhabrnal@redhat.com>
2c83a8
Date: Mon, 9 Nov 2015 15:02:36 +0100
2c83a8
Subject: [PATCH] uploader: allow empty username and password
2c83a8
2c83a8
Due to added the possibility to configure SSH keys the username and the
2c83a8
password may not be set. Also there is an another reason why we decided to
2c83a8
allow those options empty. The username and the password can be defined within
2c83a8
URL and if they are not provided either by conf file or within URL,
2c83a8
reporter-uploader will ask for that.
2c83a8
2c83a8
Related to rhbz#1289513
2c83a8
2c83a8
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2c83a8
---
2c83a8
 src/plugins/report_Uploader.xml.in | 4 ++--
2c83a8
 1 file changed, 2 insertions(+), 2 deletions(-)
2c83a8
2c83a8
diff --git a/src/plugins/report_Uploader.xml.in b/src/plugins/report_Uploader.xml.in
2c83a8
index 7df006a..8d648eb 100644
2c83a8
--- a/src/plugins/report_Uploader.xml.in
2c83a8
+++ b/src/plugins/report_Uploader.xml.in
2c83a8
@@ -21,12 +21,12 @@
2c83a8
         </option>
2c83a8
         <option type="text" name="Upload_Username">
2c83a8
             <_label>User name</_label>
2c83a8
-            <allow-empty>no</allow-empty>
2c83a8
+            <allow-empty>yes</allow-empty>
2c83a8
             <_description>Use this field if you do not want to have user name in URL</_description>
2c83a8
         </option>
2c83a8
         <option type="password" name="Upload_Password">
2c83a8
             <_label>Password</_label>
2c83a8
-            <allow-empty>no</allow-empty>
2c83a8
+            <allow-empty>yes</allow-empty>
2c83a8
             <_description>Use this field if you do not want to have password in URL</_description>
2c83a8
         </option>
2c83a8
         <advanced-options>
2c83a8
-- 
2c83a8
1.8.3.1
2c83a8