Set user language properly
This commit is contained in:
parent
8c9e797210
commit
e2d5145e3d
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ class UserRepository
|
||||||
$user->uuid = $uuid->generate('users', 'uuid');
|
$user->uuid = $uuid->generate('users', 'uuid');
|
||||||
$user->email = $email;
|
$user->email = $email;
|
||||||
$user->password = Hash::make($password);
|
$user->password = Hash::make($password);
|
||||||
|
$user->language = 'en';
|
||||||
$user->root_admin = ($admin) ? 1 : 0;
|
$user->root_admin = ($admin) ? 1 : 0;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue