1
0
Fork 0
forked from mirror/pixelfed

Update ContactController

This commit is contained in:
Daniel Supernault 2019-06-18 19:58:57 -06:00
parent a7dbae6bc4
commit 5d3317d255
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -34,7 +34,7 @@ class ContactController extends Controller
->whereDate('created_at', '>', now()->subDays($max))
->count();
if($contact >= 2) {
if($contact >= $max) {
return redirect()->back()->with('error', 'You have recently sent a message. Please try again later.');
}