-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAP-2010 remove calls to old csrf library as now using csrf-sync (#757)
The call to setUpCsrf() ensures csrf token is available for all endpoints as implemented in the template project. This includes the unauthenticated endpoints: /removal-requested, /already-removed and /removal-already-requested. These unathenticated endpoints enable staff to be removed from the 'Staff involved' list via the email prompting them to create a statement. And even though these endpoints don't specifically set _csrf token in the html, it will not have an advserse affect because the html doesn't include any forms.
- Loading branch information
1 parent
3a42539
commit d35503f
Showing
3 changed files
with
1 addition
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters