some forms i missed

This commit is contained in:
flash 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_iter' => $pass[1],
'password_chan' => time(), 'password_chan' => time(),
'email' => Sakura\Main::cleanString($_POST['email'], true), '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(), 'regdate' => time(),
'lastdate' => time(), 'lastdate' => time(),
'lastunamechange' => time(), 'lastunamechange' => time(),