Skip to content

Commit

Permalink
Extract auth to own module. Correct hashing on signup
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarflakstad committed Apr 1, 2024
1 parent d967012 commit 7e7dde8
Show file tree
Hide file tree
Showing 21 changed files with 1,068 additions and 344 deletions.
149 changes: 149 additions & 0 deletions server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ password-auth = "1.0.0"
reqwest = { version = "0.12.1", features = ["json"] }
serde = "1.0.197"
serde_json = "1.0.114"
serde_urlencoded = "0.7.1"
sqlx = { version = "0.7.4", features = ["postgres", "runtime-tokio", "tls-rustls", "migrate", "uuid", "time"] }
thiserror = "1.0.58"
tokio = { version = "1.36.0", features = ["full"] }
tower-http = { version = "0.5.2", features = ["trace", "cors"] }
tracing = "0.1.40"
tower = "0.4.13"
tracing-error = "0.2.0"
tracing-log = "0.2.0"
tracing-logfmt = "0.3.4"
tracing-subscriber = { version = "0.3.18", features = ["json", "registry", "env-filter"] }
uuid = { version = "1.8.0", features = ["serde"] }
log = "0.4.21"
7 changes: 7 additions & 0 deletions server/src/auth/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub use models::*;
pub use routes::*;
pub use services::*;
pub mod models;
pub mod routes;
pub mod services;
mod utils;
Loading

0 comments on commit 7e7dde8

Please sign in to comment.