mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 03:10:51 +00:00
- fixed setup wizard
- fixed oasis UserAccountTest.php
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
@@ -53,7 +53,7 @@ class UserResource extends JsonResource
|
||||
'timezone' => $this->settings->timezone,
|
||||
|
||||
// OasisDrive
|
||||
'payment_activation' => $this->settings->payment_activation
|
||||
'payment_activation' => (integer) $this->settings->payment_activation
|
||||
]
|
||||
]
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user