Skip to content

Commit

Permalink
Lifetime in seconds, not millis
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Feb 14, 2024
1 parent b917c9e commit 2462667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
define('DB_NAME', "dayon.db");
define('TOKEN_MIN_LENGTH', 4);
define('TOKEN_LIFETIME', 604800000);
define('TOKEN_LIFETIME', 604800);
header('Content-type: text/plain');
if (isset($_GET['port'])) {
$port = clean($_GET['port'], 6);
Expand Down

0 comments on commit 2462667

Please sign in to comment.