fix namespace
This commit is contained in:
parent
9107637d4e
commit
a05edb7975
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ class NewUser extends Users
|
|||
$user = $this->c->users->create();
|
||||
|
||||
$user->username = $v->username;
|
||||
$user->password = \password_hash($v->password, PASSWORD_DEFAULT);
|
||||
$user->password = \password_hash($v->password, \PASSWORD_DEFAULT);
|
||||
$user->group_id = $this->c->config->i_default_user_group;
|
||||
$user->email = $v->email;
|
||||
$user->email_confirmed = 0;
|
||||
|
|
|
@ -165,7 +165,7 @@ class Register extends Page
|
|||
$user = $this->c->users->create();
|
||||
|
||||
$user->username = $v->username;
|
||||
$user->password = \password_hash($v->password, PASSWORD_DEFAULT);
|
||||
$user->password = \password_hash($v->password, \PASSWORD_DEFAULT);
|
||||
$user->group_id = $groupId;
|
||||
$user->email = $v->email;
|
||||
$user->email_confirmed = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue