Browse Source
force session start on logged-out webmention form
main
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
1 additions and
1 deletions
-
controllers/Controller.php
|
|
@ -154,7 +154,7 @@ class Controller { |
|
|
|
} |
|
|
|
|
|
|
|
public function send_a_webmention(Request $request, Response $response) { |
|
|
|
p3k\session_setup(); |
|
|
|
session_start(); |
|
|
|
|
|
|
|
$_SESSION['_csrf'] = random_string(16); |
|
|
|
|
|
|
|