Update adminAdapters.js

This commit is contained in:
2018-11-14 12:25:21 +08:00
parent 840c3791a6
commit 2ed08fd3cf

View File

@@ -418,7 +418,8 @@ function Adapters(main) {
password = that.$installDialog.find('#install-url-link-password').val();
if (username) {
url = username + ":" + password + "@" + url;
url = url.replace('https://','https://' +username + ':' + password + '@');
}
if (url.startsWith("http") && url.endsWith(".git")) url = "git+" + url;