mirror of
https://github.com/silentsakky/zarafa-webapp-passwd
synced 2026-08-05 06:51:16 +02:00
fixed changing password using zarafa-passwd
This commit is contained in:
parent
564b8d2dd1
commit
d55b22e255
3 changed files with 4 additions and 2 deletions
|
|
@ -2,3 +2,6 @@ zarafa-webapp-passwd
|
||||||
====================
|
====================
|
||||||
|
|
||||||
Plugin to add functionality of changing of password from zarafa webapp
|
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
|
||||||
|
|
@ -203,7 +203,6 @@ class PasswdModule extends Module
|
||||||
*/
|
*/
|
||||||
public function checkPasswordStrenth($password)
|
public function checkPasswordStrenth($password)
|
||||||
{
|
{
|
||||||
return true;
|
|
||||||
// @FIXME should be moved to client side
|
// @FIXME should be moved to client side
|
||||||
if (preg_match("#.*^(?=.{8,20})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).*$#", $password)) {
|
if (preg_match("#.*^(?=.{8,20})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).*$#", $password)) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Allows to change user password from webapp.
|
* Allows to change user password from webapp.
|
||||||
*
|
*
|
||||||
* Author: Saket patel <s.patel@zarafa.com>
|
* Author: Saket patel <silentsakky@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Pluginpasswd extends Plugin {
|
class Pluginpasswd extends Plugin {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue