X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=squirrelmail-change-pass.git;a=blobdiff_plain;f=functions.php;h=20afc9ef0c9d869484f9732134baa2c50fce8873;hp=28ed9c23109cac19023ed8cbe561e3d168a6ab6d;hb=HEAD;hpb=8e8e305d1889640b81c92d92d4e1352997352b66 diff --git a/functions.php b/functions.php index 28ed9c2..20afc9e 100644 --- a/functions.php +++ b/functions.php @@ -2,7 +2,7 @@ /* * Licensed under the GNU GPL. For full terms see the file COPYING. * - * $Id: functions.php,v 1.7 2009/05/14 02:33:01 indiri69 Exp $ + * $Id: functions.php,v 1.8 2009/12/09 00:21:11 indiri69 Exp $ */ function change_pass_option_link_do() { @@ -59,7 +59,7 @@ function change_pass_dochange($change_pass_old, $change_pass_new, $debug = false change_pass_closeport($pop_socket, $debug); sqauth_save_password($change_pass_new); session_write_close(); - header('Location: ' . sqm_baseuri() . 'src/options.php?optmode=submit&optpage=change_pass&plugin_change_pass=1'); + header('Location: ' . sqm_baseuri() . 'src/options.php?optmode=submit&optpage=change_pass&plugin_change_pass=1&smtoken=' . sm_generate_security_token()); exit; } } @@ -105,20 +105,20 @@ function change_pass_info_real() { 'sm_site_username' => 'randall', ), ), - 'version' => '3.0', + 'version' => '3.1', 'required_sm_version' => '1.4.0', 'requires_configuration' => 0, 'requires_source_patch' => 0, 'required_plugins' => array(), 'per_version_requirements' => array( '1.5.0' => SQ_INCOMPATIBLE, - '1.4.16' => array( + '1.4.20' => array( 'required_plugins' => array() ), '1.4.0' => array( 'required_plugins' => array( 'compatibility' => array( - 'version' => '2.0.13', + 'version' => '2.0.16', 'activate' => FALSE ) )