But when adding feeds with passwords

https://github.com/FreshRSS/FreshRSS/issues/1131
This commit is contained in:
Alexandre Alapetite
2016-04-24 14:50:31 +02:00
parent 4862652585
commit 91593cecd2

View File

@@ -114,6 +114,8 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
Minz_Request::bad(_t('feedback.sub.feed.invalid_url', $url), $url_redirect);
}
$feed->_httpAuth($http_auth);
try {
$feed->load(true);
} catch (FreshRSS_Feed_Exception $e) {
@@ -140,7 +142,6 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
}
$feed->_category($cat);
$feed->_httpAuth($http_auth);
// Call the extension hook
$name = $feed->name();