1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-05-05 23:43:10 +02:00
Commit graph

16 commits

Author SHA1 Message Date
neil fa9cd82531 setting csrf token duration to 12 hours 2020-11-05 16:16:19 +01:00
neil 6b61ada515 implementing csrf token in backend. forward_register (/link endpont) is now POST 2020-11-04 20:04:29 +01:00
neil 6760517c70 now using database pool for db. Fixes #21 2020-11-03 17:02:03 +01:00
neil 8dd5486250 implementing multiple database systems support! 2020-11-01 18:03:42 +01:00
neil 6a9465d579 adding random token at the end of generated names. Fixes #14 2020-09-16 20:19:21 +02:00
neil abd6c91013 moving to forms OCSv2 API 2020-09-08 18:48:47 +02:00
neil 491ffb5537 Use await everywhere, do not declare a mutable variable if the body doesn't need to be edited, disable compression 2020-08-29 19:55:03 +02:00
neil 44286ac8c5 removing superfluous authorization header removal 2020-08-22 20:14:20 +02:00
neil 05566dde3d cargo fmt 2020-08-22 16:34:28 +02:00
neil 1c02c142c9 fixing cookie regex again 2020-08-22 16:01:23 +02:00
neil 5a6f600806 Introducing proxy timeout (15s) and attempt to remove basic-auth header from all requests 2020-08-22 15:38:42 +02:00
bleh c61cd417fd fixing the cookie token regex 2020-08-22 12:43:21 +02:00
bleh fc32720003 more verbose debug on token fail 2020-08-22 12:16:25 +02:00
bleh 5c1f80358f Using a different error message when the admin token isn't found. Fixes #6 2020-08-19 20:28:08 +02:00
bleh bdba48acf2 fixing sncf_admin_token parsing error 2020-08-19 16:44:31 +02:00
bleh 92aadbf613 initial commit and v1? 2020-08-19 01:21:42 +02:00