1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-12-18 01:33:59 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Juan J. Jimenez-Anca
8d635f71fb
allow session-only cookies (#161)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-03-07 04:26:06 +09:00
Yuki Okushi
f970d90894
Use re-exported bytes items from instead of using them directly (#139) 2020-12-01 10:21:56 +09:00
Rob Ede
cbfd5d94ee
fix httpauth extraction error handling in middleware (#128) 2020-11-18 15:08:03 +00:00
Rob Ede
33dfea8997
update httpauth readme 2020-09-28 02:04:18 +01:00
Rob Ede
bad5f32a68
update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
Yuki Okushi
7e6bdf2eb2
Check code with rustfmt not to introduce format commits (#88) 2020-07-21 03:51:51 +09:00
Boyd Johnson
70df190e0b
httpauth: Refactor out Mutex (#69) 2020-06-11 16:10:18 +01:00
Yuki Okushi
10fe10c9c1
httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09:00
Adam Chalmers
a50f1db473 Bugfix: AuthenticationError should set status_code
I noticed that my `AuthenticationError`'s `status_code` field was 401, but when I ran `.as_response_error()` the `ResponseError`'s code was 500 (the default value). It's because impl ResponseError for AuthenticationError doesn't define the `status_code()` trait method. Merely setting the status code in `error_response` isn't enough, it seems. I added a unit test for this case too.
2020-05-19 07:34:53 -05:00
Björn Steinbrink
3e17ad9a4e Remove unneeded single path import
Imports with a single path component are useless.
2020-02-11 16:25:53 +01:00
Yuki Okushi
91f6519177 Set up GitHub Actions 2020-01-30 15:57:38 +09:00
Rob Ede
b4267818de move files into module 2020-01-29 11:42:35 +00:00