mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 20:27:40 +02:00
Install Script: update new user registration.
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
Reference in New Issue
Block a user