* for the user. Called after LANG_SETUP module.
*
* @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2010 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage squirrelspell
*/
+sqgetGlobalVar('smtoken', $submitted_token, SQ_POST, '');
+sm_validate_security_token($submitted_token, 3600, TRUE);
+
global $SQSPELL_APP_DEFAULT;
if (! sqgetGlobalVar('use_langs',$use_langs,SQ_POST)) {