diff options
| author | 2013-04-27 21:08:29 +0200 | |
|---|---|---|
| committer | 2013-04-27 21:08:29 +0200 | |
| commit | 0e95494e29353a9ae31fb1196c6c9aaf556ae981 (patch) | |
| tree | da499463fda30157c172d92a1e02e972a6c6d6e5 /app/controllers/configureController.php | |
| parent | 2a52d315bed725d5997a42547673bccfe2409b5d (diff) | |
Fix issue #26 : possibilité de s'abonner à des flux derrière authentification HTTP + correction quelques traductions
Diffstat (limited to 'app/controllers/configureController.php')
| -rwxr-xr-x | app/controllers/configureController.php | 10 |
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)) { |
