diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-08-24 01:12:06 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-08-24 04:50:49 -0400 |
| commit | fd6a74e8ca1f5ded2a760b8ac644124862d80d54 (patch) | |
| tree | 1da22665c0259c3a4ed63bb7acef4a6e81365dbe /src/user/app.rs | |
| parent | 97e4c1d25f6ee17959adc23cacd8361dcd42e519 (diff) | |
Hoist `password` out to the top level.
Having this buried under `crate::user` makes it hard to split up the roles `user` fulfils right now. Moving it out to its own module makes it a bit tidier to reuse it in a separate, authentication-only way.
Diffstat (limited to 'src/user/app.rs')
| -rw-r--r-- | src/user/app.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app.rs b/src/user/app.rs index 2ab356f..5f58981 100644 --- a/src/user/app.rs +++ b/src/user/app.rs @@ -1,10 +1,10 @@ use sqlx::sqlite::SqlitePool; use super::{ - Password, User, + User, create::{self, Create}, }; -use crate::{clock::DateTime, event::Broadcaster, name::Name}; +use crate::{clock::DateTime, event::Broadcaster, name::Name, password::Password}; pub struct Users<'a> { db: &'a SqlitePool, |
