auto-check-element icon indicating copy to clipboard operation
auto-check-element copied to clipboard

Should `csrf` be a required attribute?

Open koddsson opened this issue 4 years ago • 1 comments

Right now, we exit early if there is no CSRF token. Maybe we should allow users to supply a CSRF token and not mandate it optionally?

https://github.com/github/auto-check-element/blob/23108987c32ee07f654e49a1cb727660fed9f2da/src/index.ts#L102-L105

koddsson avatar May 07 '21 16:05 koddsson

FWIW, there may be some applications outside of dotcom that wouldn't need to set this.

rebelagentm avatar May 11 '21 15:05 rebelagentm