Allow admin to choose whether to enable the changing of full name and email address
[squirrelmail.git] / config / config_default.php
index c965d4c0cd88fa3549436ef3e0b3f03cec4a4a2c..1d341d2e4d0eb87ffc37b3abe1419cbecc77d7c9 100644 (file)
@@ -448,6 +448,18 @@ global $plugins;
  *    $plugins[1] = 'attachment_common';
  */
 
+/**
+ * If you don't want to allow users to change their email address
+ * then you can set $edit_identity to false, if you want them to
+ * not be able to change their full name too then set $edit_name
+ * to false as well. $edit_name has no effect unless $edit_identity
+ * is false;
+ */
+
+global $edit_identity, $edit_name;
+$edit_identity = true;
+$edit_name = true;
+
 /**
  * Make sure there are no characters after the PHP closing
  * tag below (including newline characters and whitespace).