evazion
2d34e69737
api: disable csrf protection for api requests.
...
Fixes POST/PUT API requests failing with InvalidAuthenticityToken errors
due to missing CSRF tokens.
CSRF protection is only necessary for cookie-based authentication. For
non-cookie-based authentication we can safely disable it. That is, if
the user is already passing their login + api_key, then we don't need
to additionally verify the request with a CSRF token.
ref: 2e407fa476 (comments)
2019-08-24 22:55:35 -05:00
..
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2019-08-02 22:03:03 -05:00
2019-08-24 22:55:35 -05:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-09-15 19:58:55 -05:00
2018-04-06 18:09:57 -07:00
2019-08-18 11:24:41 -05:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2019-08-19 17:22:36 -05:00
2019-08-24 22:55:35 -05:00
2018-09-19 13:34:50 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-05-15 11:20:16 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-06-23 11:15:14 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2019-08-18 11:24:42 -05:00
2018-11-08 15:09:31 -06:00
2018-04-06 18:09:57 -07:00
2018-11-08 15:09:31 -06:00
2018-04-06 18:09:57 -07:00
2018-05-05 14:00:49 -05:00
2018-05-05 14:00:58 -05:00
2018-04-06 18:09:57 -07:00
2019-08-18 11:24:41 -05:00
2019-08-18 11:24:41 -05:00
2018-04-06 18:09:57 -07:00
2019-08-24 22:55:35 -05:00
2018-07-21 14:02:57 -07:00
2018-04-06 18:09:57 -07:00
2018-11-06 18:29:27 -06:00
2018-11-15 12:06:13 -08:00
2019-08-14 01:46:43 -05:00
2018-09-11 13:43:34 -07:00
2018-04-06 18:09:57 -07:00
2018-12-31 19:08:15 -06:00
2018-04-06 18:09:57 -07:00
2018-12-31 19:08:15 -06:00
2018-04-06 18:09:57 -07:00
2019-08-18 11:24:42 -05:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2019-08-22 21:30:00 -05:00
2018-04-06 18:09:57 -07:00
2019-08-18 11:24:41 -05:00