Browse Source

small comment changes.

Thijs Kinkhorst 20 years ago
parent
commit
b573fbea69
2 changed files with 7 additions and 5 deletions
  1. 5 3
      plugins/change_password/config.php
  2. 2 2
      plugins/change_password/functions.php

+ 5 - 3
plugins/change_password/config.php

@@ -10,11 +10,13 @@
  * @subpackage change_password
  */
 
-// the password changing mechanism you're using
+/** the password changing mechanism you're using */
 $cpw_backend = 'template';
 
-
+/** the minimum and maximum length that the plugin will enforce on new passwords */
 $cpw_pass_min_length = 4;
 $cpw_pass_max_length = 25;
 
-$cpw_require_ssl = FALSE;
+/** whether we require the use of SSL/https to change a password */
+$cpw_require_ssl = FALSE;
+

+ 2 - 2
plugins/change_password/functions.php

@@ -15,7 +15,7 @@
  * Will verify the input against a set of criteria:
  * is every field supplied, does verify password match,
  * does current password validate, ..
- * These criteria are (for now) backend-independant.
+ * These criteria are (for now) backend-independent.
  *
  * @return array Array with zero or more error messages.
  */
@@ -108,4 +108,4 @@ function cpw_do_change()
     session_write_close();
     header('Location: '.SM_PATH. 'src/options.php?optmode=submit&plugin_change_password=1');
     exit;
-}
+}