fix API login method for SMTP/FTP

pushover
Moe 2019-10-09 09:29:49 -07:00
parent 40481e3d3e
commit 2a3f6f39a1
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ module.exports = function(s,config,lang){
var splitUsername = username.split('@')
if(splitUsername[1] && splitUsername[1].toLowerCase().indexOf('shinobi') > -1){
getApiKey({
auth: splitUsername,
auth: splitUsername[0],
ke: password
},'ke,uid',callback)
}else{