2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

Merge pull request #111 from Philhil/Fix-Spelling

fix spelling
This commit is contained in:
Conrad Sopala 2018-12-04 20:33:17 +01:00 committed by GitHub
commit 3edd9d5673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ var SECRETS = {
io.use(socketioJwt.authorize({ io.use(socketioJwt.authorize({
secret: function(request, decodedToken, callback) { secret: function(request, decodedToken, callback) {
// SECRETS[decodedToken.userId] will be used a a secret or // SECRETS[decodedToken.userId] will be used as a secret or
// public key for connection user. // public key for connection user.
callback(null, SECRETS[decodedToken.userId]); callback(null, SECRETS[decodedToken.userId]);