1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 21:26:58 +02:00

Users Plugin: fix

This commit is contained in:
Awilum
2012-09-30 14:57:34 +03:00
parent fc27f4944e
commit ccd7eee803
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@
$users->insert(array('login' => Security::safeName($user_login),
'password' => Security::encryptPassword(Request::post('password')),
'email' => Request::post('email'),
'hash' => Text::random('alnum', 12)
'hash' => Text::random('alnum', 12),
'date_registered' => time(),
'role' => Request::post('role')));

View File

@@ -131,7 +131,7 @@
Users::$users->insert(array('login' => Security::safeName($user_login),
'password' => Security::encryptPassword(Request::post('password')),
'email' => Request::post('email'),
'hash' => Text::random('alnum', 12)
'hash' => Text::random('alnum', 12),
'date_registered' => time(),
'role' => 'user'));