aboutsummaryrefslogtreecommitdiff
path: root/lib/functions.php
diff options
context:
space:
mode:
authorArno Richter <oelna@oelna.de>2023-01-13 17:45:27 +0100
committerArno Richter <oelna@oelna.de>2023-01-13 17:46:43 +0100
commit3ebd3dcfe6b564ddfe5dcbc0ff9f2bb1fa92c761 (patch)
treeed51a9041ae8def4a4a03fb0d8a06c4745a2ce4d /lib/functions.php
parentb20cf03c18ad06a5d9df4fa7bc61734fc57ba41b (diff)
downloadmicroblog-3ebd3dcfe6b564ddfe5dcbc0ff9f2bb1fa92c761.tar.gz
microblog-3ebd3dcfe6b564ddfe5dcbc0ff9f2bb1fa92c761.tar.bz2
microblog-3ebd3dcfe6b564ddfe5dcbc0ff9f2bb1fa92c761.zip
prepare use of private key files for signing in activitypub. fix small cookie issue in functions.php
Diffstat (limited to 'lib/functions.php')
-rw-r--r--lib/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.php b/lib/functions.php
index 3f69b56..c5990f1 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -19,7 +19,7 @@ function check_login() {
} else {
// invalid cookie data
unset($_COOKIE['microblog_login']);
- setcookie('microblog_login', '', time()-3600, '/', $domain, false);
+ setcookie('microblog_login', '', time()-3600, '/', false, false);
}
}