1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Can set language settings

This commit is contained in:
2020-07-14 13:33:17 +02:00
parent 5a1093b33a
commit 66ad111719
6 changed files with 46 additions and 2 deletions

View File

@@ -91,4 +91,7 @@ pub const PASSWORD_RESET_TOKEN_LENGTH: usize = 255;
pub const PASSWORD_RESET_TOKEN_LIFETIME: u64 = 60 * 60 * 6;
/// Minimum password length
pub const PASSWORD_MIN_LENGTH: usize = 3;
pub const PASSWORD_MIN_LENGTH: usize = 3;
/// Supported languages (for ComunicWeb)
pub const SUPPORTED_LANGUAGES: &'static [&'static str] = &["en", "fr"];