From 7acd3999cb882db191ca5f44f06ecaa1559d7acf Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 29 Mar 2015 18:43:51 +0200 Subject: [PATCH] some forms i missed --- main/dev/registerData.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/dev/registerData.php b/main/dev/registerData.php index 96cb13a..99ae5f9 100644 --- a/main/dev/registerData.php +++ b/main/dev/registerData.php @@ -16,6 +16,10 @@ if(isset($_POST['submit'])) { 'password_iter' => $pass[1], 'password_chan' => time(), 'email' => Sakura\Main::cleanString($_POST['email'], true), + 'group_main' => '1', + 'groups' => json_encode([1]), + 'register_ip' => $_SERVER['REMOTE_ADDR'], + 'last_ip' => $_SERVER['REMOTE_ADDR'], 'regdate' => time(), 'lastdate' => time(), 'lastunamechange' => time(),