Point node-ssh at git repo because npmjs version is broken

+ fix sftp always enabling even if disabled
merge-requests/74/merge
Moe 2021-05-31 10:51:41 -07:00
parent a777d55be8
commit ee455f009e
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ module.exports = function(s,config,lang){
if(!s.group[e.ke].sftp &&
!s.group[e.ke].sftp &&
userDetails.sftp !== '0' &&
userDetails.sftp_save === '1' &&
userDetails.sftp_host &&
userDetails.sftp_host !== ''&&
userDetails.sftp_port &&

View File

@ -35,7 +35,7 @@
"mp4frag": "^0.2.0",
"mysql": "^2.18.1",
"node-fetch": "3.0.0-beta.9",
"node-ssh": "^11.1.1",
"node-ssh": "git+https://github.com/steelbrain/node-ssh.git",
"node-telegram-bot-api": "^0.52.0",
"nodemailer": "^6.4.11",
"pam-diff": "github:kevinGodell/pam-diff",