summaryrefslogtreecommitdiff
path: root/plugins/password/README
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-07 07:52:35 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-07 07:52:35 +0000
commit4ae9a39aabee5816b6321d24e771ddb56d824ab7 (patch)
tree602b0a5917555d3637c7a07d77ac28b068f88ac9 /plugins/password/README
parentb8c247a8773b945369a5858275c86e2448cdc7db (diff)
- When old and new passwords are the same, do nothing, return success (#1487823)
git-svn-id: https://svn.roundcube.net/trunk@4595 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/password/README')
-rw-r--r--plugins/password/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/password/README b/plugins/password/README
index 81e4f1ead..80421ce8f 100644
--- a/plugins/password/README
+++ b/plugins/password/README
@@ -256,7 +256,7 @@
Driver file (<driver_name>.php) must define 'password_save' function with
two arguments. First - current password, second - new password. Function
- may return PASSWORD_SUCCESS on success or any of PASSWORD_CONNECT_ERROR,
+ should return PASSWORD_SUCCESS on success or any of PASSWORD_CONNECT_ERROR,
PASSWORD_CRYPT_ERROR, PASSWORD_ERROR when driver was unable to change password.
- See existing drivers in drivers/ directory for examples.
-
+ Extended result (as a hash-array with 'message' and 'code' items) can be returned
+ too. See existing drivers in drivers/ directory for examples.