Can check delete account token
This commit is contained in:
@ -37,5 +37,8 @@ impl Default for StaticConstraints {
|
||||
/// Password reset token duration
|
||||
pub const PASSWORD_RESET_TOKEN_DURATION: Duration = Duration::from_secs(3600 * 24);
|
||||
|
||||
/// Account deletion token duration
|
||||
pub const ACCOUNT_DELETE_TOKEN_DURATION: Duration = Duration::from_secs(3600 * 12);
|
||||
|
||||
/// OpenID state duration
|
||||
pub const OPEN_ID_STATE_DURATION: Duration = Duration::from_secs(3600);
|
||||
|
Reference in New Issue
Block a user