You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
"Can request admin" flag on user
This commit is contained in:
@ -27,6 +27,7 @@ pub struct User {
|
||||
pub primary_user_email_id: Option<Ulid>,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub locked_at: Option<DateTime<Utc>>,
|
||||
pub can_request_admin: bool,
|
||||
}
|
||||
|
||||
impl User {
|
||||
@ -47,6 +48,7 @@ impl User {
|
||||
primary_user_email_id: None,
|
||||
created_at: now,
|
||||
locked_at: None,
|
||||
can_request_admin: false,
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user