Update AvatarController, set max avatar size to 2mb

pull/363/head
Daniel Supernault 7 years ago
parent a2eb1f02ba
commit 85e4e9cf65
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -17,7 +17,7 @@ class AvatarController extends Controller
public function store(Request $request)
{
$this->validate($request, [
'avatar' => 'required|mimes:jpeg,png|max:1000'
'avatar' => 'required|mimes:jpeg,png|max:2000'
]);
try {
$user = Auth::user();

Loading…
Cancel
Save