git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11202
7612ce4b-ef26-0410-bec9-
ea0150e637f0
should be converted to html line breaks.
- Add note to conf.pl / config_default.php to warn users that set
sensitive passwords in that file to properly secure it.
+ - Prevent modifications in advanced identities, when editing of
+ identities is disabled.
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
/* SquirrelMail required files. */
require_once(SM_PATH . 'functions/identity.php');
+/* make sure that page is not available when $edit_identity is false */
+if (!$edit_identity) {
+ error_box(_("Editing identities is disabled."));
+ $oTemplate->display('footer.tpl');
+ die();
+}
+
if (!sqgetGlobalVar('identities', $identities, SQ_SESSION)) {
$identities = get_identities();
}