You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
Use the new password manager
This commit is contained in:
@@ -37,6 +37,15 @@ impl User {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
|
||||
pub struct Password {
|
||||
pub id: Ulid,
|
||||
pub hashed_password: String,
|
||||
pub version: u16,
|
||||
pub upgraded_from_id: Option<Ulid>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
|
||||
pub struct Authentication {
|
||||
pub id: Ulid,
|
||||
|
||||
Reference in New Issue
Block a user