diff --git a/.gitignore b/.gitignore index e928d8f..6fb0b49 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_STORE .idea +.git diff --git a/configuration.js b/configuration.js index e845075..46d6019 100644 --- a/configuration.js +++ b/configuration.js @@ -37,7 +37,7 @@ angular ]) .constant('$downloadProps', [ // Similar to starred Quick Access properties but for adding new downloads. // go to Advance Download Options when adding a new download to view the list of possible options - 'pause', 'dir', 'max-connection-per-server' + 'http-user', 'http-passwd', 'pause', 'dir', 'max-connection-per-server' ]) .constant('$globalTimeout', 1000) // interval to update the individual downloads ; diff --git a/js/services/settings/settings.js b/js/services/settings/settings.js index 26392be..12797e0 100644 --- a/js/services/settings/settings.js +++ b/js/services/settings/settings.js @@ -292,6 +292,11 @@ angular.module('webui.services.settings', []) options: ["true", "false"], }, + "http-user": { + val: '', + desc: "Set HTTP username.", + }, + "http-passwd": { val: '', desc: "Set HTTP password.",