summaryrefslogtreecommitdiffstats
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-16 03:55:27 +0300
committerYigit Sever2021-04-16 03:55:27 +0300
commit90525af1b50219801a019842bc635ea08f9f93d9 (patch)
tree66b741f6e759fc6dbe044fe938d9e3b2c3a28221 /src/handlers.rs
parente923a69e503c81a38736f9eb3ea65e4c8551dee5 (diff)
downloadgradecoin-90525af1b50219801a019842bc635ea08f9f93d9.tar.gz
gradecoin-90525af1b50219801a019842bc635ea08f9f93d9.tar.bz2
gradecoin-90525af1b50219801a019842bc635ea08f9f93d9.zip
Writing auth test
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs1
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) => {