default color for avatar was changed

This commit is contained in:
Čarodej
2022-04-07 15:44:41 +02:00
parent 85d4f535eb
commit 6ed2efcc4e
3 changed files with 12 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ class UserSetting extends Model
static::creating(function ($user) {
$user->id = Str::uuid();
$user->color = config('vuefilemanager.colors')[rand(0, 5)];
$user->color = config('vuefilemanager.colors')[rand(0, 9)];
$user->emoji_type = 'twemoji';
$user->theme_mode = 'system';
});