notification #292

Merged
philipp merged 26 commits from notification into main 2024-03-21 20:48:21 +01:00
2 changed files with 4 additions and 8 deletions
Showing only changes of commit 638c13bc53 - Show all commits

View File

@ -1,16 +1,11 @@
use std::{
fs::File,
io::Read,
ops::{Deref, DerefMut},
};
use std::ops::{Deref, DerefMut};
use argon2::{password_hash::SaltString, Argon2, PasswordHasher};
use chrono::{Datelike, Local, NaiveDate};
use log::info;
use rocket::{
async_trait,
data::ToByteUnit,
http::{ext::IntoCollection, Cookie, Status},
http::{Cookie, Status},
request::{self, FromRequest, Outcome},
time::{Duration, OffsetDateTime},
tokio::io::AsyncReadExt,
@ -1069,6 +1064,7 @@ mod test {
phone: None,
address: None,
family_id: None,
membership_pdf: None,
},
)
.await;

View File

@ -15,7 +15,7 @@ use rocket::{
http::{ContentType, Status},
post,
request::{FlashMessage, FromRequest, Outcome},
response::{content, Flash, Redirect},
response::{Flash, Redirect},
routes, FromForm, Request, Route, State,
};
use rocket_dyn_templates::{tera::Context, Template};