mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-07-25 02:47:01 +00:00
More precision on MD5 regex
This commit is contained in:
parent
3fc25c0c4a
commit
2109ef3469
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ const BOOLEAN_REGEX = '/^(on|off|true|false|1|0)$/i';
|
|||
const BOOLEAN_TRUE_REGEX = '/^(on|true|1)$/i';
|
||||
const EDITABLE_CHOICE_REGEX = '/^[0-2]$/';
|
||||
const BASE64_REGEX = '/^[A-Za-z0-9]+$/';
|
||||
const MD5_REGEX = '/^[A-Fa-f0-9]+$/';
|
||||
const MD5_REGEX = '/^[A-Fa-f0-9]{32}$/';
|
||||
|
||||
// CSRF (300s = 5min)
|
||||
const TOKEN_TIME = 300;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue