fix API login method for SMTP/FTP
parent
40481e3d3e
commit
2a3f6f39a1
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in New Issue