1
0
Fork 0
mirror of https://github.com/silentsakky/zarafa-webapp-passwd synced 2026-07-27 10:30:56 +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

@ -2,3 +2,6 @@ zarafa-webapp-passwd
====================
Plugin to add functionality of changing of password from zarafa webapp
This plugin is largely based on the "Passwd" plugin by
Andreas Brodowski. For his original check this link https://community.zarafa.com/pg/plugins/project/157/developer/dw2412/passwd-plugin

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;

View file

@ -4,7 +4,7 @@
*
* Allows to change user password from webapp.
*
* Author: Saket patel <s.patel@zarafa.com>
* Author: Saket patel <silentsakky@gmail.com>
*/
class Pluginpasswd extends Plugin {