diff --git a/app/Http/Controllers/Settings/HomeSettings.php b/app/Http/Controllers/Settings/HomeSettings.php index a9592d7ce..082a72af0 100644 --- a/app/Http/Controllers/Settings/HomeSettings.php +++ b/app/Http/Controllers/Settings/HomeSettings.php @@ -22,7 +22,6 @@ use App\Services\PronounService; trait HomeSettings { - public function home() { $id = Auth::user()->profile->id; @@ -41,7 +40,7 @@ trait HomeSettings public function homeUpdate(Request $request) { $this->validate($request, [ - 'name' => 'required|string|max:'.config('pixelfed.max_name_length'), + 'name' => 'nullable|string|max:'.config('pixelfed.max_name_length'), 'bio' => 'nullable|string|max:'.config('pixelfed.max_bio_length'), 'website' => 'nullable|url', 'language' => 'nullable|string|min:2|max:5', diff --git a/resources/views/settings/home.blade.php b/resources/views/settings/home.blade.php index 08bd8d727..702373c83 100644 --- a/resources/views/settings/home.blade.php +++ b/resources/views/settings/home.blade.php @@ -39,7 +39,7 @@
- +
@@ -51,7 +51,15 @@
- +

0/{{config('pixelfed.max_bio_length')}}