Can create a movement
This commit is contained in:
@@ -41,6 +41,7 @@ pub struct ServerConstraints {
|
||||
pub token_ip_net: LenConstraints,
|
||||
pub token_max_inactivity: LenConstraints,
|
||||
pub account_name: LenConstraints,
|
||||
pub movement_label: LenConstraints,
|
||||
}
|
||||
|
||||
impl Default for ServerConstraints {
|
||||
@@ -50,6 +51,7 @@ impl Default for ServerConstraints {
|
||||
token_ip_net: LenConstraints::max_only(44),
|
||||
token_max_inactivity: LenConstraints::new(3600, 3600 * 24 * 365),
|
||||
account_name: LenConstraints::not_empty(50),
|
||||
movement_label: LenConstraints::not_empty(200),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user