fix: increase OAuth callback close delay to 5s
This commit is contained in:
parent
da2b7ca9ca
commit
4e6a2dace1
5 changed files with 2 additions and 10 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|
|
@ -129,10 +127,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug((string) env('APP_NAME', 'laravel')).'-session'
|
||||
),
|
||||
'cookie' => env('SESSION_COOKIE', 'trypost-session'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -75,7 +75,7 @@ function closeWindow() {
|
|||
}
|
||||
|
||||
// Close after a short delay
|
||||
setTimeout(closeWindow, 1000);
|
||||
setTimeout(closeWindow, 5000);
|
||||
|
||||
// If still open after 2 seconds, show manual close message
|
||||
setTimeout(function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue