Browse Source

force session start on logged-out webmention form

main
Aaron Parecki 6 years ago
parent
commit
70846c6ec0
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/Controller.php

+ 1
- 1
controllers/Controller.php View File

@ -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);

Loading…
Cancel
Save