csurf icon indicating copy to clipboard operation
csurf copied to clipboard

throw error when the user repeatedly call csurf in same middleware

Open Yu-Jack opened this issue 5 years ago • 1 comments

I think and think over again in PR-228 and PR-229.
There are maybe few users repeatedly called csurf({cookie: true}) with same middleware.
So, I think I just warn this situation for now. In the future, we maybe could throw error instead of warning.

Yu-Jack avatar Nov 25 '20 14:11 Yu-Jack

@dougwilson Is it okay?

Yu-Jack avatar Dec 30 '20 14:12 Yu-Jack