mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
fix: increase session lifetime
This commit is contained in:
parent
f281307b20
commit
caf6b10d4a
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ function verifyCsrfToken($token = null) : bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
|
session_set_cookie_params(86400);
|
||||||
|
|
||||||
/* Set up the database and Eloquent ORM */
|
/* Set up the database and Eloquent ORM */
|
||||||
$capsule = new Capsule();
|
$capsule = new Capsule();
|
||||||
|
|
Loading…
Add table
Reference in a new issue