Update adminAdapters.js
This commit is contained in:
@@ -411,6 +411,14 @@ function Adapters(main) {
|
|||||||
if (isCustom) {
|
if (isCustom) {
|
||||||
url = that.$installDialog.find('#install-url-link').val();
|
url = that.$installDialog.find('#install-url-link').val();
|
||||||
|
|
||||||
|
username = that.$installDialog.find('#install-url-link-username').val();
|
||||||
|
|
||||||
|
password = that.$installDialog.find('#install-url-link-password').val();
|
||||||
|
|
||||||
|
if (username) {
|
||||||
|
url = username + ":" + password + "@" + url;
|
||||||
|
}
|
||||||
|
|
||||||
if (url.startsWith("http") && url.endsWith(".git")) url = "git+" + url;
|
if (url.startsWith("http") && url.endsWith(".git")) url = "git+" + url;
|
||||||
|
|
||||||
debug = that.$installDialog.find('#install-url-debug').prop('checked') ? ' --debug' : '';
|
debug = that.$installDialog.find('#install-url-debug').prop('checked') ? ' --debug' : '';
|
||||||
|
|||||||
Reference in New Issue
Block a user