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

add remaining files

This commit is contained in:
Saket Patel 2013-10-17 02:24:14 +05:30
commit a47e773cfd
6 changed files with 274 additions and 3 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;