diff options
author | Yigit Sever | 2021-04-11 16:38:14 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-11 16:38:14 +0300 |
commit | 7288f4f693406a8c0e2c4de6718539547e55a8bc (patch) | |
tree | a07336ef827ff1df84c05d7ffc18416550a276c6 /src | |
parent | 001a9ac21c29af53d31e9710d12e37d565880207 (diff) | |
download | gradecoin-auth.tar.gz gradecoin-auth.tar.bz2 gradecoin-auth.zip |
cannot consume body twiceauth
Diffstat (limited to 'src')
-rw-r--r-- | src/auth.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/auth.rs b/src/auth.rs index 51b2e6a..2fcc7a6 100644 --- a/src/auth.rs +++ b/src/auth.rs | |||
@@ -100,7 +100,10 @@ async fn authorize( | |||
100 | a: decoded.claims.puk, | 100 | a: decoded.claims.puk, |
101 | }) | 101 | }) |
102 | } | 102 | } |
103 | Err(e) => return Err(warp::reject::custom(RateLimited)), | 103 | Err(e) => { |
104 | println!("HELLOO"); | ||
105 | return Err(warp::reject::custom(RateLimited)); | ||
106 | } | ||
104 | } | 107 | } |
105 | } | 108 | } |
106 | 109 | ||