1
0
Fork 0
mirror of https://github.com/dducret/kopano-webapp-passwd synced 2026-07-27 10:32:26 +02:00

fixed changing password using zarafa-passwd

This commit is contained in:
Saket Patel 2013-07-07 02:12:20 +05:30
commit d55b22e255
3 changed files with 4 additions and 2 deletions

View file

@ -203,7 +203,6 @@ class PasswdModule extends Module
*/
public function checkPasswordStrenth($password)
{
return true;
// @FIXME should be moved to client side
if (preg_match("#.*^(?=.{8,20})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).*$#", $password)) {
return true;