summaryrefslogtreecommitdiff
path: root/src/token/extract
diff options
context:
space:
mode:
Diffstat (limited to 'src/token/extract')
-rw-r--r--src/token/extract/identity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token/extract/identity.rs b/src/token/extract/identity.rs
index d01ab53..960fe60 100644
--- a/src/token/extract/identity.rs
+++ b/src/token/extract/identity.rs
@@ -10,14 +10,14 @@ use crate::{
app::App,
clock::RequestedAt,
error::{Internal, Unauthorized},
+ login::Login,
token::{Token, app::ValidateError},
- user::User,
};
#[derive(Clone, Debug)]
pub struct Identity {
pub token: Token,
- pub user: User,
+ pub login: Login,
}
impl FromRequestParts<App> for Identity {