diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-27 13:35:29 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-28 20:21:34 +0200 |
commit | cba95c5eb19a33654a6f0995c6f9e0885b7afc20 (patch) | |
tree | a334a0fa3c074f44fe41a4114ea1853ac7f6c0e3 /app/class/Model.php | |
parent | c832f91ca41490f69f478045c86038f9ef4a5cb5 (diff) | |
download | wcms-cba95c5eb19a33654a6f0995c6f9e0885b7afc20.tar.gz wcms-cba95c5eb19a33654a6f0995c6f9e0885b7afc20.zip |
fix password max size
add error in hydrate
Diffstat (limited to 'app/class/Model.php')
-rw-r--r-- | app/class/Model.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/app/class/Model.php b/app/class/Model.php index 60983bc..3bf3675 100644 --- a/app/class/Model.php +++ b/app/class/Model.php @@ -119,7 +119,7 @@ abstract class Model public const MAX_ID_LENGTH = 64; public const PASSWORD_MIN_LENGTH = 4; - public const PASSWORD_MAX_LENGTH = 32; + public const PASSWORD_MAX_LENGTH = 64; public const MAX_COOKIE_CONSERVATION = 365; public const MAX_QUERY_LENGH = 256; @@ -147,12 +147,7 @@ abstract class Model { return self::dirtopath(Model::RENDER_DIR); } - - public static function globalpath() - { - return self::dirtopath(Model::GLOBAL_DIR); - } - + public static function csspath() { return self::dirtopath(Model::CSS_DIR); |