feat(auth): Add optional CSRF protection (#697)

* fix(auth): Missing CSRF middleware
Resolves LGTM alert/error for query js/missing-token-validation
More info: https://lgtm.com/rules/1506064038914/
This commit is contained in:
TheCatLady
2021-01-24 21:27:57 -05:00
committed by GitHub
parent 4b0241c3b3
commit 6e2589178b
7 changed files with 98 additions and 3 deletions

View File

@@ -62,6 +62,9 @@ components:
applicationUrl:
type: string
example: https://os.example.com
csrfProtection:
type: boolean
example: false
hideAvailable:
type: boolean
example: false