Fix “Can't update account settings without setting a bio”

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
This commit is contained in:
Marcin Mikołajczak 2018-06-01 21:13:29 +02:00
parent 92939ed867
commit 13c0e33490

View file

@ -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;