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