Update example
diff --git a/config.php.example b/config.php.example
index 037df68..ebb0e67 100755
--- a/config.php.example
+++ b/config.php.example
@@ -98,8 +98,8 @@
$REDIRECT_TO = "";
// Registration callback. A function to run when registration is successfull
-$POST_REGISTER_HOOK = function(){
- echo "THE IP: " . $_SERVER['REMOTE_ADDR'];
+$POST_REGISTER_HOOK = function($user){
+ echo "Welcome " . $user->name . "! Your ip is logged: " . $_SERVER['REMOTE_ADDR'];
};
// displays php errors on the html page. Set to false for production