diff --git a/libs/githubClient.js b/libs/githubClient.js index 2a9a34ca3..4ed5ad638 100644 --- a/libs/githubClient.js +++ b/libs/githubClient.js @@ -31,7 +31,7 @@ Strategy.findOne({ name: 'github' }, async function (aErr, aStrat) { if (aErr) console.error(aErr); - if (aStrat) { + if (aStrat && process.env.DISABLE_SCRIPT_IMPORT !== 'true') { // This authentication authorization is currently required to authorize this app // to have the GitHub authentication callback work when the strategy `id` and `key` is found // and additional usage of the `id` and `key` elsewhere in the Code diff --git a/views/pages/newScriptPage.html b/views/pages/newScriptPage.html index 7ac316767..e76304b46 100644 --- a/views/pages/newScriptPage.html +++ b/views/pages/newScriptPage.html @@ -26,14 +26,14 @@
Click here to write a script using the Ace editor.
Optionally you may upload the script to the site first. You may also use the link at Import Script from Github to speed things up as a shortcut.
+You may use Write Script Online or Upload Script to the site first to determine if there are any validation issues. When the service is available you may use the link at Import Script from Github to speed things up as a shortcut.
master
branch.