Can request new user password on login

This commit is contained in:
2022-04-02 08:30:01 +02:00
parent 0f4a5cde57
commit 4b8c9fdfdc
7 changed files with 222 additions and 11 deletions

View File

@@ -12,4 +12,7 @@ pub const APP_NAME: &str = "Basic OIDC";
pub const MAX_SESSION_DURATION: u64 = 60 * 30;
/// Minimum interval between each last activity record in session
pub const MIN_ACTIVITY_RECORD_TIME: u64 = 10;
pub const MIN_ACTIVITY_RECORD_TIME: u64 = 10;
/// Minimum password length
pub const MIN_PASS_LEN: usize = 4;