Skip to content

Commit e2d5145

Browse files
committed
Set user language properly
1 parent 8c9e797 commit e2d5145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Repositories/UserRepository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function create($email, $password, $admin = false)
5151
$user->uuid = $uuid->generate('users', 'uuid');
5252
$user->email = $email;
5353
$user->password = Hash::make($password);
54+
$user->language = 'en';
5455
$user->root_admin = ($admin) ? 1 : 0;
5556

5657
try {

0 commit comments

Comments
 (0)