summaryrefslogtreecommitdiff
path: root/plugins/password/README
diff options
context:
space:
mode:
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.