mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Added event trigger to allow for additional validation during signup/registration.
This commit is contained in:
16
signup.php
16
signup.php
@@ -3,7 +3,7 @@
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| <20>Steve Dunstan 2001-2002
|
||||
| <20>Steve Dunstan 2001-2008
|
||||
| http://e107.org
|
||||
| jalist@e107.org
|
||||
|
|
||||
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/signup.php,v $
|
||||
| $Revision: 1.18 $
|
||||
| $Date: 2008-06-13 20:20:20 $
|
||||
| $Author: e107steved $
|
||||
| $Revision: 1.19 $
|
||||
| $Date: 2008-07-16 22:19:57 $
|
||||
| $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'])
|
||||
{
|
||||
require_once(e_HANDLER."xml_class.php");
|
||||
@@ -1062,4 +1068,4 @@ function render_email($preview = FALSE)
|
||||
|
||||
return $ret;
|
||||
}
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user