From 1987bc7bb1c945332f12028baddd732524d8cd07 Mon Sep 17 00:00:00 2001 From: tazitus <33998587+tazitus@users.noreply.github.com> Date: Sat, 14 Dec 2019 21:35:06 +0100 Subject: [PATCH] Clarify avatar GIF upload error message The uploaded GIF has to be square, not symmetrical. --- app/Http/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 46d3e13177..94d506ef87 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -190,7 +190,7 @@ public function editProfile(Request $request, $username) $image->move(public_path('/files/img/'), $filename); } else { return redirect()->route('users.show', ['username' => $user->username]) - ->withErrors('Because you are uploading a GIF, your avatar must be symmetrical!'); + ->withErrors('Because you are uploading a GIF, your avatar must be square!'); } } $user->image = $user->username.'.'.$image->getClientOriginalExtension();