summaryrefslogtreecommitdiff
path: root/app/controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/configureController.php')
-rwxr-xr-xapp/controllers/configureController.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php
index 81a8e97d7..f4d1a38e7 100755
--- a/app/controllers/configureController.php
+++ b/app/controllers/configureController.php
@@ -90,11 +90,19 @@ class configureController extends ActionController {
$cat = Request::param ('category', 0);
$path = Request::param ('path_entries', '');
$priority = Request::param ('priority', 0);
+ $user = Request::param ('http_user', '');
+ $pass = Request::param ('http_pass', '');
+
+ $httpAuth = '';
+ if ($user != '' || $pass != '') {
+ $httpAuth = $user . ':' . $pass;
+ }
$values = array (
'category' => $cat,
'pathEntries' => $path,
- 'priority' => $priority
+ 'priority' => $priority,
+ 'httpAuth' => $httpAuth
);
if ($feedDAO->updateFeed ($id, $values)) {