Commit 0c0a9939 authored by Fabien's avatar Fabien Committed by GitHub

Merge pull request #153 from steemit/doc-login-disclamer

Add disclamer to login method
parents 7271dde1 1b627391
......@@ -477,11 +477,15 @@ steem.api.getMinerQueue(function(err, result) {
## Login API
### Login
/!\ It's **not safe** to use this method with your username and password. This method always return `true` and is only used in intern with empty values to enable broadcast.
```
steem.api.login(username, password, function(err, result) {
steem.api.login('', '', function(err, result) {
console.log(err, result);
});
```
### Get Api By Name
```
steem.api.getApiByName(apiName, function(err, result) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment