Browse Source

Update readme.

Jared Hanson 3 years ago
parent
commit
86c6bc3e5f
1 changed files with 3 additions and 4 deletions
  1. 3 4
      README.md

+ 3 - 4
README.md

@@ -83,10 +83,9 @@ passport.use(new EthereumStrategy({ store: store },
 Two routes are needed in order to allow users to log in with their Ethereum
 Two routes are needed in order to allow users to log in with their Ethereum
 wallet.
 wallet.
 
 
-The first route generates a randomized challenge, saves it in the
-`ChallengeStore`, and sends it to the client-side JavaScript for it to be
-included in the signed message.  This is necessary in order to protect against
-replay attacks.
+The first route generates a randomized nonce, saves it in the `NonceStore`, and
+sends it to the client-side JavaScript for it to be included in the signed
+message.  This is necessary in order to protect against replay attacks.
 
 
 ```js
 ```js
 router.post('/login/ethereum/challenge', function(req, res, next) {
 router.post('/login/ethereum/challenge', function(req, res, next) {