summaryrefslogtreecommitdiff
path: root/src/invite/handlers/accept
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-08-24 01:12:06 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-08-24 04:50:49 -0400
commitfd6a74e8ca1f5ded2a760b8ac644124862d80d54 (patch)
tree1da22665c0259c3a4ed63bb7acef4a6e81365dbe /src/invite/handlers/accept
parent97e4c1d25f6ee17959adc23cacd8361dcd42e519 (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/invite/handlers/accept')
-rw-r--r--src/invite/handlers/accept/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/invite/handlers/accept/mod.rs b/src/invite/handlers/accept/mod.rs
index 0d5f08a..9fa4d6a 100644
--- a/src/invite/handlers/accept/mod.rs
+++ b/src/invite/handlers/accept/mod.rs
@@ -10,8 +10,9 @@ use crate::{
error::{Internal, NotFound},
invite::{app, handlers::PathInfo},
name::Name,
+ password::Password,
token::extract::IdentityCookie,
- user::{Password, User},
+ user::User,
};
#[cfg(test)]