• Category: webapp
  • License: GNU Affero General Public License (AGPL) version 3
  • Updated: 2014-1-17
  • Downloads: 1676


Author Recommended: 1.1

Previous releases:

Other Projects

Saket Patel's projects:




The Passwd plugin allows the user to change his password inside of WebApp.

Full description:

This plugin is largely based on the "Passwd" plugin by Andreas Brodowski.

For his original work check this link


How to install

1. If you want to use this plugin with production / debug version of webapp then please download project from here

2. If you want to use this plugin with source copy of webapp then you can just download source copy from github

3. Extract contents of this plugin to <webapp_path>/plugins directory

4. Give read permissions to apache for <webapp_path>/plugins/passwd directory

5. If you are using LDAP plugin then change PLUGIN_PASSWD_LDAP to true and also set proper values for PLUGIN_PASSWD_LDAP_BASEDN and PLUGIN_PASSWD_LDAP_URI configurations

6. If you are using DB plugin then no need to change anything, default configurations should be fine

5. Restart apache, reload webapp after clearing cache

6. If you want to enable this plugin by default for all users then edit config.php file and change PLUGIN_PASSWD_USER_DEFAULT_ENABLE setting to true


How to enable

1. Go to settings section

2. Go to Plugins tab

3. Enable password change plugin and reload webapp

4. Go to Change Password tab of settings section

5. Provide current password and new password

6. Click on apply


How to disable

1. Go to settings section

2. Go to Plugins tab

3. Disable password change plugin and reload webapp



- Feedback/Bug Reports are welcome

- If anyone is good at creating icons then please help me add a good icon to change password tab (credits will be given)



- Add password strength meter on client side, so user can create complex passwords

- Check on client side for empty fields


More Info:

Source Code:

Note: this plugin is only supported in webapp above v1.4

Release notes:

1.1 (19th Dec 2013)

  - Bug fixes for LDAP plugin


1.0 (17th Dec 2013)

  - Password change functionality when using DB or LDAP plugin

I have a multi-tenant setup using LDAP so the latest version in the GIT repository did the trick for me! Thanks a lot!

For further development I would like to contribute an idea. It would also be very helpfull if the password expiration date could be shown and the user could be alerted if the date is near. 

Wouter Lagendijk 623 days ago

Great plugin! That's what I needed!

zmi 590 days ago

The plugin in version 1.1 (from the ZIP file) contains a bug once using the LDAP part. Please apply the following patch:

--- passwd-1.1/php/class.passwdmodule.php       2013-12-19 20:46:18.000000000 +0100
+++ passwd-1.1/php/class.passwdmodule.php.rsc 2014-09-05 16:49:14.492931116 +0200
@@ -109,7 +109,7 @@
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);

// login with current password if that fails then current password is wrong
- $bind = ldap_bind($ladpconn, $userdn, $data['current_password']);
+ $bind = ldap_bind($ldapconn, $userdn, $data['current_password']);

if(ldap_errno($ldapconn) === 0) {
$passwd = $data['new_password'];

Robert Scheck 451 days ago