mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 17:41:30 +03:00
Refact/verification code input check (#6924)
* Refact, login verification code, input check Signed-off-by: fufesou <shuanglongchen@yeah.net> * Refact, settings, enable 2fa, dialog input Signed-off-by: fufesou <shuanglongchen@yeah.net> * Refact. Connect, 2fa code, input check Signed-off-by: fufesou <shuanglongchen@yeah.net> * refact, 2Fa text field, input formatter, only digits Signed-off-by: fufesou <shuanglongchen@yeah.net> * refact, error message Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -585,5 +585,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enable-2fa-desc", ""),
|
||||
("wrong-2fa-code", ""),
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user