mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Increase DuplicateSubmissionCheck time
This commit is contained in:
parent
444ffd64cf
commit
ddd60c4d3c
@ -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 <= 2)) {
|
||||
return redirect('/')->with('warning', trans('texts.duplicate_post'));
|
||||
}
|
||||
|
||||
|
@ -113,6 +113,8 @@
|
||||
<p>{{ trans('texts.task_rate') }}: {{ Utils::roundSignificant($client->task_rate) }}</p>
|
||||
@endif
|
||||
|
||||
<p/>
|
||||
|
||||
@if ($client->public_notes)
|
||||
<p><i>{{ $client->public_notes }}</i></p>
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user