- fixed setup wizard

This commit is contained in:
Peter Papp
2021-04-06 10:10:38 +02:00
parent f531ffce11
commit 90c0466cd0
2 changed files with 3 additions and 3 deletions

View File

@@ -418,7 +418,7 @@ class SetupWizardController extends Controller
$user
->settings()
->create([
'storage_capacity' => get_setting('storage_default'),
'storage_capacity' => get_setting('storage_default') ?? 5,
'avatar' => store_avatar($request, 'avatar'),
'name' => $request->name,
]);