diff options
author | Yigit Sever | 2021-04-16 03:55:27 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-16 03:55:27 +0300 |
commit | 004b069ed31fcada5172ee351800979d91d578c0 (patch) | |
tree | e8f039de2b35cb2ef58f01e931e050be438c648e /src | |
parent | 752b05888c3309538a9a8fd3b87b8dd6b510e37e (diff) | |
download | gradecoin-004b069ed31fcada5172ee351800979d91d578c0.tar.gz gradecoin-004b069ed31fcada5172ee351800979d91d578c0.tar.bz2 gradecoin-004b069ed31fcada5172ee351800979d91d578c0.zip |
Writing auth test
Diffstat (limited to 'src')
-rw-r--r-- | src/handlers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index 88f9a80..3b62ef8 100644 --- a/src/handlers.rs +++ b/src/handlers.rs | |||
@@ -139,6 +139,7 @@ pub async fn authenticate_user( | |||
139 | } | 139 | } |
140 | }; | 140 | }; |
141 | 141 | ||
142 | // TODO: request iv is coming with base64 encoding <16-04-21, yigit> // | ||
142 | let cipher = match Aes128Cbc::new_var(&temp_key, &request.iv.as_bytes()) { | 143 | let cipher = match Aes128Cbc::new_var(&temp_key, &request.iv.as_bytes()) { |
143 | Ok(c) => c, | 144 | Ok(c) => c, |
144 | Err(err) => { | 145 | Err(err) => { |