Skip to content

Commit

Permalink
#158 add configuration for CSRF protection
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Mar 27, 2017
1 parent dfd75f3 commit be5129e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions thehive-backend/conf/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# !!! This file must not be modified !!!
# Custom configuration must be set in application.conf file.

# name of cookie in which the CSRF token is transmitted to client
play.filters.csrf.cookie.name = XSRF-TOKEN
# name of header in which the client should send CSRD token
play.filters.csrf.header.name = X-XSRF-TOKEN

# handler for errors (transform exception to related http status code
play.http.errorHandler = org.elastic4play.ErrorHandler

Expand Down

0 comments on commit be5129e

Please sign in to comment.