diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-11 14:13:50 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-11 14:13:50 +0100 |
commit | c5a9c71a1fbade72f35b5d39c5f71380436e96ce (patch) | |
tree | 9b68052d9a10c095e94486621020147642771214 /app/class/model.php | |
parent | e399b37761b2385b208283362a77585fe4322dc5 (diff) | |
download | wcms-c5a9c71a1fbade72f35b5d39c5f71380436e96ce.tar.gz wcms-c5a9c71a1fbade72f35b5d39c5f71380436e96ce.zip |
password hash option retro compatible
Diffstat (limited to 'app/class/model.php')
-rw-r--r-- | app/class/model.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/class/model.php b/app/class/model.php index b3d5274..88a1bb3 100644 --- a/app/class/model.php +++ b/app/class/model.php @@ -20,6 +20,9 @@ abstract class Model const EDIT_SYMBOLS = ['pen', 'tool', 'none']; const MAX_ID_LENGTH = 64; + const PASSWORD_HASH = true; + const PASSWORD_MIN_LENGTH = 4; + const PASSWORD_MAX_LENGTH = 32; /** RENDER OPTIONS */ const RENDER_CLASS_ORIGIN = false; |