some forms i missed

This commit is contained in:
Pachira 2015-03-29 18:43:51 +02:00
parent 9ebeba8622
commit 7acd3999cb

View file

@ -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(),