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

Fix “Can't update account settings without setting a bio”
This commit is contained in:
daniel 2018-06-01 16:59:56 -06:00 committed by GitHub
commit dcd6edb154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;