|
|
@ -1560,10 +1560,8 @@ FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase) |
|
|
|
if ( (str= SuperNET_encryptjson(myinfo,coin,argjson,remoteaddr,password,myinfo->permanentfile,myinfo->decryptstr == 0 ? "" : myinfo->decryptstr)) != 0 ) |
|
|
|
free(str); |
|
|
|
myinfo->expiration = (uint32_t)(time(NULL) + 3600); |
|
|
|
printf("(%s) logged into (%s) %s %s\n",password,myinfo->myaddr.NXTADDR,myinfo->myaddr.BTC,myinfo->myaddr.BTCD); |
|
|
|
return(SuperNET_activehandle(IGUANA_CALLARGS)); |
|
|
|
} else return(clonestr("{\"error\":\"need passphrase\"}")); |
|
|
|
printf("(%s) logged into (%s) %s %s\n",password,myinfo->myaddr.NXTADDR,myinfo->myaddr.BTC,myinfo->myaddr.BTCD); |
|
|
|
return(SuperNET_activehandle(IGUANA_CALLARGS)); |
|
|
|
} |
|
|
|
|
|
|
|