Merge branch 'staging' into simple-nx-auth
This commit is contained in:
commit
06c5e5a9d1
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -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",
|
||||||
|
@ -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" ] }
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user