From ca4f31a60bcfa3f14d7445bbe4a3f771f5d186ab Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 30 Sep 2012 22:23:05 +0300 Subject: [PATCH] Install Script: update new user registration. --- install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install.php b/install.php index 2b298e7..0a457a5 100644 --- a/install.php +++ b/install.php @@ -95,6 +95,7 @@ $users->insert(array('login' => Security::safeName(Request::post('login')), 'password' => Security::encryptPassword(Request::post('password')), 'email' => Request::post('email'), + 'hash' => Text::random('alnum', 12), 'date_registered' => time(), 'role' => 'admin'));