Check-in [45949e3e63]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | bump version of openid/indieauth include |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
45949e3e63d352d0a141820034844741 |
User & Date: | mario 2021-04-05 06:32:21 |
Context
2021-04-05
| ||
08:27 | Fix forum (PHP7.4 compat for Parsedown, stray empty name= in template, didn't test for emtpy lastInsertedId) check-in: 42ca3b7d11 user: mario tags: trunk | |
06:32 | bump version of openid/indieauth include check-in: 45949e3e63 user: mario tags: trunk | |
06:25 | More shortags (use `phptags --long` to reverse...) check-in: b137de1697 user: mario tags: trunk | |
Changes
Changes to lib/deferred_openid_session.php.
1 2 3 4 5 6 | <?php /** * api: php * title: Session startup * description: Avoids session startup until actual login occured * license: MITL | | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <?php /** * api: php * title: Session startup * description: Avoids session startup until actual login occured * license: MITL * version: 0.4 * * Start $_SESSION only if there's already a session cookie present. * (Prevent needless cookies and tracking ids for not logged-in users.) * * The only handler that initiates any login process is `page_login.php` * * Now primarily using IndieAuth, albeit OpenID plugin remains active. # And $_SESSION["openid"] will be kept throughout the codebase anywho. * */ #error_reporting(E_ALL);set_error_handler("var_dump"); // Kill off CloudFlare cookie when Do-Not-Track header present ### WILL BECOME REDUNDANT IN MAY 2021 ### if ($_SERVER->has("HTTP_DNT") and $_SERVER->boolean["HTTP_DNT"]) { header("Set-Cookie: __cfduid= ; path=/; domain=.freshcode.club; HttpOnly"); } define("INDIEAUTH_API", "https://indieauth.com/auth"); define("INDIEAUTH_CLIENT_ID", "https://freshcode.club/"); define("INDIEAUTH_REDIRECT", "https://freshcode.club/login"); |
︙ | ︙ |