simple-nx-auth #924

Merged
philipp merged 31 commits from simple-nx-auth into main 2025-04-18 17:44:55 +02:00
3 changed files with 5 additions and 2 deletions
Showing only changes of commit 06c5e5a9d1 - Show all commits

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;