Can request account deletion
This commit is contained in:
@ -12,11 +12,15 @@ pub struct User {
|
||||
pub email: String,
|
||||
#[serde(skip_serializing)]
|
||||
pub password: Option<String>,
|
||||
#[serde(skip_serializing)]
|
||||
pub reset_password_token: Option<String>,
|
||||
pub time_create: i64,
|
||||
#[serde(skip_serializing)]
|
||||
pub reset_password_token: Option<String>,
|
||||
#[serde(skip_serializing)]
|
||||
pub time_gen_reset_token: i64,
|
||||
#[serde(skip_serializing)]
|
||||
pub delete_account_token: Option<String>,
|
||||
#[serde(skip_serializing)]
|
||||
pub time_gen_delete_account_token: i64,
|
||||
pub time_activate: i64,
|
||||
pub active: bool,
|
||||
pub admin: bool,
|
||||
|
Reference in New Issue
Block a user