Plugin Directory

Changeset 3298554


Ignore:
Timestamp:
05/22/2025 08:18:21 AM (10 months ago)
Author:
docid
Message:

Updated plugin to version 1.0.4

Location:
docid/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • docid/trunk/README.txt

    r3298535 r3298554  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5656== Changelog ==
    5757
    58 = 1.0.2 / 1.0.3 =
     58= 1.0.2 / 1.0.3 / 1.0.4 =
    5959* Minor bugfixes
    6060
  • docid/trunk/docid.php

    r3298534 r3298554  
    1414 * Plugin Name:       DocID
    1515 * 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.3
     16 * Version:           1.0.4
    1717 * Author:            8awake GmbH <support@docid.de>
    1818 * Author URI:        https://docid.de
  • docid/trunk/frontend/class-docid-frontend.php

    r3298513 r3298554  
    9696            set_transient('docid_skip_auth_' . $this->docid_hashed($skipAuthToken), true, 30);
    9797
    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']);
    9999
    100100            $this->_docid_remove_auth_token($skipAuthToken);
     
    120120
    121121            if (is_wp_error($response)) {
     122
    122123                if(defined('WP_DEBUG') && WP_DEBUG === true) {
    123124                    $errorMessage = $response->get_error_message();
    124125                    error_log('Error docid_handle_auth_token: ' . $errorMessage);
    125126                }
     127
    126128                $this->_docid_remove_auth_token();
     129
    127130            } else {
    128131
     
    144147                    set_transient('docid_skip_auth_' . $this->docid_hashed($skipAuthToken), true, 30);
    145148
    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']);
    147150
    148151                }
Note: See TracChangeset for help on using the changeset viewer.