Merge branch 'staging' into simple-nx-auth
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
Philipp Hofer 2025-04-18 17:10:10 +02:00
commit 06c5e5a9d1
3 changed files with 5 additions and 2 deletions

1
Cargo.lock generated
View File

@ -2544,6 +2544,7 @@ name = "rot"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"argon2", "argon2",
"base64",
"chrono", "chrono",
"chrono-tz 0.10.3", "chrono-tz 0.10.3",
"csv", "csv",

View File

@ -29,6 +29,7 @@ job_scheduler_ng = "2.0"
ureq = { version = "3.0", features = ["json"] } ureq = { version = "3.0", features = ["json"] }
regex = "1.10" regex = "1.10"
urlencoding = "2.1" urlencoding = "2.1"
base64 = "0.22"
[target.'cfg(not(windows))'.dependencies] [target.'cfg(not(windows))'.dependencies]
openssl = { version = "0.10", features = [ "vendored" ] } openssl = { version = "0.10", features = [ "vendored" ] }

View File

@ -7,9 +7,9 @@ use rocket::{
form::Form, form::Form,
fs::FileServer, fs::FileServer,
get, get,
http::Cookie, http::{Cookie, Status},
post, post,
request::FlashMessage, request::{FlashMessage, FromRequest, Outcome},
response::{Flash, Redirect}, response::{Flash, Redirect},
routes, routes,
time::{Duration, OffsetDateTime}, time::{Duration, OffsetDateTime},
@ -30,6 +30,7 @@ use crate::{
}, },
SCHECKBUCH, SCHECKBUCH,
}; };
use base64::alphabet::STANDARD;
pub(crate) mod admin; pub(crate) mod admin;
mod auth; mod auth;