2020-04-18 18:31:25 +02:00
|
|
|
diff --git a/inc/core/class.dc.core.php b/inc/core/class.dc.core.php
|
2022-02-22 15:23:08 +01:00
|
|
|
index e9c0ac2..0c6f2e5 100644
|
2020-04-18 18:31:25 +02:00
|
|
|
--- a/inc/core/class.dc.core.php
|
|
|
|
+++ b/inc/core/class.dc.core.php
|
2022-02-22 15:23:08 +01:00
|
|
|
@@ -941,8 +941,8 @@ class dcCore
|
2020-04-18 18:31:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ($cur->isField('user_pwd')) {
|
|
|
|
- if (strlen($cur->user_pwd) < 6) {
|
|
|
|
- throw new Exception(__('Password must contain at least 6 characters.'));
|
|
|
|
+ if (strlen($cur->user_pwd) < 1) {
|
|
|
|
+ throw new Exception(__('Password must contain at least 1 characters.'));
|
|
|
|
}
|
|
|
|
$cur->user_pwd = $this->auth->crypt($cur->user_pwd);
|
|
|
|
}
|