X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions.php;h=1e00080fb23720255c3134789c92d9c2f796bd73;hb=617a4d89ef9d9761d4472e27871438ff132e2f05;hp=2a3fd2a42e76f7496cf0ea5b710c1ceb6d1a72ce;hpb=c0d968010e710870fdfee2f22d7cc9fad370c7a9;p=squirrelmail.git diff --git a/src/options.php b/src/options.php index 2a3fd2a4..1e00080f 100644 --- a/src/options.php +++ b/src/options.php @@ -6,7 +6,7 @@ * Displays the options page. Pulls from proper user preference files * and config.php. Displays preferences as selected and other options. * - * @copyright 1999-2012 The SquirrelMail Project Team + * @copyright 1999-2014 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -203,7 +203,7 @@ if ( !@is_file( $optpage_file ) ) { // security check before saving anything... //FIXME: what about SMOPT_MODE_LINK?? if ($optmode == SMOPT_MODE_SUBMIT) { - sm_validate_security_token($submitted_token, 3600, TRUE); + sm_validate_security_token($submitted_token, -1, TRUE); } $optpage_save_error=array();