Set user language properly

This commit is contained in:
Dane Everitt 2016-01-14 23:48:58 -05:00
parent 8c9e797210
commit e2d5145e3d

View file

@ -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 {