Skip to content

Commit

Permalink
Merge pull request #153 from steemit/doc-login-disclamer
Browse files Browse the repository at this point in the history
Add disclamer to login method
  • Loading branch information
Fabien authored Jun 2, 2017
2 parents 7271dde + 1b62739 commit 0c0a993
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c0a993

Please sign in to comment.