Compare commits
No commits in common. "638c13bc537e2c3ee3f496b388fc22f3c7d53c4d" and "9a1117a7c8e3ca3cf003a2a7bd80b63bf50847ca" have entirely different histories.
638c13bc53
...
9a1117a7c8
@ -1,11 +1,16 @@
|
|||||||
use std::ops::{Deref, DerefMut};
|
use std::{
|
||||||
|
fs::File,
|
||||||
|
io::Read,
|
||||||
|
ops::{Deref, DerefMut},
|
||||||
|
};
|
||||||
|
|
||||||
use argon2::{password_hash::SaltString, Argon2, PasswordHasher};
|
use argon2::{password_hash::SaltString, Argon2, PasswordHasher};
|
||||||
use chrono::{Datelike, Local, NaiveDate};
|
use chrono::{Datelike, Local, NaiveDate};
|
||||||
use log::info;
|
use log::info;
|
||||||
use rocket::{
|
use rocket::{
|
||||||
async_trait,
|
async_trait,
|
||||||
http::{Cookie, Status},
|
data::ToByteUnit,
|
||||||
|
http::{ext::IntoCollection, Cookie, Status},
|
||||||
request::{self, FromRequest, Outcome},
|
request::{self, FromRequest, Outcome},
|
||||||
time::{Duration, OffsetDateTime},
|
time::{Duration, OffsetDateTime},
|
||||||
tokio::io::AsyncReadExt,
|
tokio::io::AsyncReadExt,
|
||||||
@ -1064,7 +1069,6 @@ mod test {
|
|||||||
phone: None,
|
phone: None,
|
||||||
address: None,
|
address: None,
|
||||||
family_id: None,
|
family_id: None,
|
||||||
membership_pdf: None,
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
@ -15,7 +15,7 @@ use rocket::{
|
|||||||
http::{ContentType, Status},
|
http::{ContentType, Status},
|
||||||
post,
|
post,
|
||||||
request::{FlashMessage, FromRequest, Outcome},
|
request::{FlashMessage, FromRequest, Outcome},
|
||||||
response::{Flash, Redirect},
|
response::{content, Flash, Redirect},
|
||||||
routes, FromForm, Request, Route, State,
|
routes, FromForm, Request, Route, State,
|
||||||
};
|
};
|
||||||
use rocket_dyn_templates::{tera::Context, Template};
|
use rocket_dyn_templates::{tera::Context, Template};
|
||||||
|
Loading…
Reference in New Issue
Block a user