- fixed setup wizard

- fixed oasis UserAccountTest.php
This commit is contained in:
Peter Papp
2021-04-06 10:10:38 +02:00
parent 737adfa91a
commit 7cefcf8dab
5 changed files with 15 additions and 146 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,
]);