Skip to content

Commit

Permalink
fix: make sure all cookies expire at the same point in time (#134)
Browse files Browse the repository at this point in the history
* fix: make sure all cookies expire at the same point in time

* chore: update magnustools and adjust lifetime parameter to be an int
  • Loading branch information
m90 authored Feb 22, 2024
1 parent 7bfc1ea commit 132df3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public_html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

require_once ( 'php/Widar.php' ) ;
$widar = new Widar ( 'widar' ) ;
$widar = new Widar ( 'widar', 60*60*24*30*3 ); // make all cookies expire in three months
if ( !$widar->render_reponse ( $botmode ) ) $widar->output_widar_main_page () ;

?>

0 comments on commit 132df3e

Please sign in to comment.