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

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