Changeset 3298554
- Timestamp:
- 05/22/2025 08:18:21 AM (10 months ago)
- Location:
- docid/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
docid.php (modified) (1 diff)
-
frontend/class-docid-frontend.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docid/trunk/README.txt
r3298535 r3298554 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 37 Stable tag: 1.0.4 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 56 56 == Changelog == 57 57 58 = 1.0.2 / 1.0.3 =58 = 1.0.2 / 1.0.3 / 1.0.4 = 59 59 * Minor bugfixes 60 60 -
docid/trunk/docid.php
r3298534 r3298554 14 14 * Plugin Name: DocID 15 15 * Description: The DocID plugin provides all the functionalities required for a secure and legally compliant authentication of healthcare professionals on your website. 16 * Version: 1.0. 316 * Version: 1.0.4 17 17 * Author: 8awake GmbH <support@docid.de> 18 18 * Author URI: https://docid.de -
docid/trunk/frontend/class-docid-frontend.php
r3298513 r3298554 96 96 set_transient('docid_skip_auth_' . $this->docid_hashed($skipAuthToken), true, 30); 97 97 98 setcookie(self::DOCID_COOKIE_SESSION_ID, $guestToken, ['expires' => time() + 3600, 'path' => '/', 'secure' => is_ssl(), 'httponly' => true, 'samesite' => is_ssl() ? 'None' :'Lax']);98 setcookie(self::DOCID_COOKIE_SESSION_ID, $guestToken, ['expires' => time() + 3600, 'path' => '/', 'secure' => is_ssl(), 'httponly' => true, 'samesite' => 'Lax']); 99 99 100 100 $this->_docid_remove_auth_token($skipAuthToken); … … 120 120 121 121 if (is_wp_error($response)) { 122 122 123 if(defined('WP_DEBUG') && WP_DEBUG === true) { 123 124 $errorMessage = $response->get_error_message(); 124 125 error_log('Error docid_handle_auth_token: ' . $errorMessage); 125 126 } 127 126 128 $this->_docid_remove_auth_token(); 129 127 130 } else { 128 131 … … 144 147 set_transient('docid_skip_auth_' . $this->docid_hashed($skipAuthToken), true, 30); 145 148 146 setcookie(self::DOCID_COOKIE_SESSION_ID, $authToken, ['expires' => time() + 3600, 'path' => '/', 'secure' => is_ssl(), 'httponly' => true, 'samesite' => is_ssl() ? 'None' :'Lax']);149 setcookie(self::DOCID_COOKIE_SESSION_ID, $authToken, ['expires' => time() + 3600, 'path' => '/', 'secure' => is_ssl(), 'httponly' => true, 'samesite' => 'Lax']); 147 150 148 151 }
Note: See TracChangeset
for help on using the changeset viewer.