1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Added event trigger to allow for additional validation during signup/registration.

This commit is contained in:
CaMer0n
2008-07-16 22:19:57 +00:00
parent 7792b3ca95
commit 6ab6635a2f

View File

@@ -3,7 +3,7 @@
+ ----------------------------------------------------------------------------+ + ----------------------------------------------------------------------------+
| e107 website system | e107 website system
| |
| <20>Steve Dunstan 2001-2002 | <20>Steve Dunstan 2001-2008
| http://e107.org | http://e107.org
| jalist@e107.org | jalist@e107.org
| |
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/signup.php,v $ | $Source: /cvs_backup/e107_0.8/signup.php,v $
| $Revision: 1.18 $ | $Revision: 1.19 $
| $Date: 2008-06-13 20:20:20 $ | $Date: 2008-07-16 22:19:57 $
| $Author: e107steved $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -375,6 +375,12 @@ if (isset($_POST['register']))
} }
} }
if($invalid = $e_event->trigger("usersup_veri", $_POST))
{
$error_message .= $invalid."\\n";
$error = TRUE;
}
if($_POST['xupexist']) if($_POST['xupexist'])
{ {
require_once(e_HANDLER."xml_class.php"); require_once(e_HANDLER."xml_class.php");