1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Restore previous duplicate wait time

This commit is contained in:
Hillel Coren 2018-01-08 11:44:35 +02:00
parent 45f0dc53e2
commit 95029c9364

View File

@ -30,7 +30,7 @@ class DuplicateSubmissionCheck
$lastPage = session(SESSION_LAST_REQUEST_PAGE);
$lastTime = session(SESSION_LAST_REQUEST_TIME);
if ($lastPage == $path && (microtime(true) - $lastTime <= 1)) {
if ($lastPage == $path && (microtime(true) - $lastTime <= 1.5)) {
return redirect('/')->with('warning', trans('texts.duplicate_post'));
}