Skip to content
Snippets Groups Projects
Commit 2109ef34 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

More precision on MD5 regex

parent 3fc25c0c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment