1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

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->email = $email;
$user->password = Hash::make($password);
$user->language = 'en';
$user->root_admin = ($admin) ? 1 : 0;
try {