Post registration hook
diff --git a/index.php b/index.php
index e1b57df..efe0040 100755
--- a/index.php
+++ b/index.php
@@ -273,6 +273,7 @@
                         }
                         redis_inc_ipdata(getClientIP(), "register");
                         echo $STRINGS->email_confirmation;
+                        if (isset($POST_REGISTER_HOOK)) $POST_REGISTER_HOOK($user);
                         include $TEMPLATE . "mail_confirmed.htm";
                     } else {
                         echo $STRINGS->email_confirmation;