error(get_string('confirmsesskeybad', 'error'));
}
+ $frm = stripslashes_recursive($frm);
+
$authplugin->validate_form($frm, $err);
if (count($err) == 0) {
}
}
}
- redirect("auth.php?sesskey=$USER->sesskey");
+ redirect("auth.php");
exit;
}
} else {
/**
* A chance to validate form data, and last chance to
* do stuff before it is inserted in config_plugin
+ * @param object object with submitted configuration settings (without system magic quotes)
+ * @param array $err array of error messages
*/
function validate_form(&$form, &$err) {
//override if needed
/**
* Processes and stores configuration data for this authentication plugin.
+ *
+ * @param object object with submitted configuration settings (without system magic quotes)
*/
function process_config($config) {
//override if needed