hapijs / crumb

CSRF crumb generation and validation for hapi
Other
171 stars 50 forks source link

adds logUnauthorized option - addresses #56 #112

Closed spanditcaa closed 6 years ago

spanditcaa commented 6 years ago

This adds a logUnauthorized option (default false) which calls request.log(['crumb'], 'validation failed') if enabled, when crumb denies a request.

spanditcaa commented 6 years ago

@geek @jonathansamines - merge/release? I'd like to get this into my apps.

geek commented 6 years ago

@spanditcaa I'll give @jonathansamines another day to raise any concerns. If there aren't any then I'll release this update tomorrow.

spanditcaa commented 6 years ago

@jonathansamines @geek just checking in..

spanditcaa commented 6 years ago

Thanks @geek!

geek commented 6 years ago

Released as 7.1.0 and 6.1.0

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.