Implemented authentification for Package publishing commands

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-07-23 17:44:56 -07:00
parent bdcaca8d63
commit 89495ef6cf
8 changed files with 59 additions and 11 deletions

View File

@@ -132,7 +132,7 @@ namespace Orchard.Packaging.Controllers {
return View("Harvest", model);
}
_packageManager.Push(packageData, model.FeedUrl);
_packageManager.Push(packageData, model.FeedUrl, model.User, model.Password);
_notifier.Information(T("Harvested {0} and published onto {1}", model.ExtensionName, model.FeedUrl));
Update();