Skip to content

Commit

Permalink
chore(core): fix typo in csrf-token-handler.js where 'strategy' is mi…
Browse files Browse the repository at this point in the history
…sspelled (nextauthjs#2391)
  • Loading branch information
mnphpexpert committed Jul 17, 2021
1 parent 0e40714 commit d7dc88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/lib/csrf-token-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as cookie from './cookie'

/**
* Ensure CSRF Token cookie is set for any subsequent requests.
* Used as part of the strateigy for mitigation for CSRF tokens.
* Used as part of the strategy for mitigation for CSRF tokens.
*
* Creates a cookie like 'next-auth.csrf-token' with the value 'token|hash',
* where 'token' is the CSRF token and 'hash' is a hash made of the token and
Expand Down

0 comments on commit d7dc88d

Please sign in to comment.