Browse Source

Merge pull request #114 from m4sk1n/settings-bio-fix

Fix “Can't update account settings without setting a bio”
daniel 7 years ago
parent
commit
dcd6edb154
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/SettingsController.php

+ 1 - 1
app/Http/Controllers/SettingsController.php

@@ -22,7 +22,7 @@ class SettingsController extends Controller
     {
       $this->validate($request, [
         'name'  => 'required|string|max:30',
-        'bio'   => 'string|max:125'
+        'bio'   => 'nullable|string|max:125'
       ]);
 
       $changes = false;