1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #412 from Simounet/fix/settings-validate

Fix missing comma into SettingsController.php
This commit is contained in:
daniel 2018-08-27 11:20:34 -06:00 committed by GitHub
commit 3565f73a5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ class SettingsController extends Controller
{ {
$this->validate($request, [ $this->validate($request, [
'name' => 'required|string|max:' . config('pixelfed.max_name_length'), 'name' => 'required|string|max:' . config('pixelfed.max_name_length'),
'bio' => 'nullable|string|max:' . config('pixelfed.max_bio_length') 'bio' => 'nullable|string|max:' . config('pixelfed.max_bio_length'),
'website' => 'nullable|url', 'website' => 'nullable|url',
'email' => 'nullable|email' 'email' => 'nullable|email'
]); ]);