Explorar el Código

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

Fix “Can't update account settings without setting a bio”
daniel hace 7 años
padre
commit
dcd6edb154
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;