Add support for NuGet API keys (#20721) (#20734)

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
KN4CK3R
2022-08-10 00:56:18 +03:00
committed by GitHub
co-authored by delvh wxiaoguang Lauris BH
parent 113d13a026
commit 67701771af
4 changed files with 59 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ func Routes() *web.Route {
authMethods := []auth.Method{
&auth.OAuth2{},
&auth.Basic{},
&nuget.Auth{},
&conan.Auth{},
}
if setting.Service.EnableReverseProxyAuth {