mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-26 22:40:45 +00:00
Update AvatarController, set max avatar size to 2mb
This commit is contained in:
parent
a2eb1f02ba
commit
85e4e9cf65
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class AvatarController extends Controller
|
||||||
public function store(Request $request)
|
public function store(Request $request)
|
||||||
{
|
{
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'avatar' => 'required|mimes:jpeg,png|max:1000'
|
'avatar' => 'required|mimes:jpeg,png|max:2000'
|
||||||
]);
|
]);
|
||||||
try {
|
try {
|
||||||
$user = Auth::user();
|
$user = Auth::user();
|
||||||
|
|
Loading…
Reference in a new issue