Plugin Directory

Changeset 2850876


Ignore:
Timestamp:
01/19/2023 06:52:47 AM (3 years ago)
Author:
ce21com
Message:

Fixed the issue in the rest API for login

Location:
ce21-suite
Files:
131 added
3 edited

Legend:

Unmodified
Added
Removed
  • ce21-suite/trunk/README.txt

    r2847175 r2850876  
    55Requires at least: 4.0
    66Tested up to: 6.1
    7 Stable tag: 2.1.2
     7Stable tag: 2.1.3
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • ce21-suite/trunk/includes/ce21-functions.php

    r2847175 r2850876  
    224224    $postid = sanitize_text_field($_POST['postid']);
    225225    $postURL = get_permalink($postid);
    226     $error_data = array(
     226    $post_data = array(
    227227        'email' => $ce21Email,
    228228        'password' => $ce21Password,
    229229    );
    230     $encoded_data = json_encode($error_data);
    231230
    232231    $authorizeURI_ce21 = get_option( 'authorizeURI_ce21' );
     
    239238        'httpversion' => '1.1',
    240239        'sslverify' => false,
    241         'blocking' => false,
    242240        'headers' => array(
    243241            "Content-Type: application/json"
    244242        ),
    245         'body' => $encoded_data,
     243        'body' => $post_data,
    246244        'cookies' => array()
    247245    );
  • ce21-suite/trunk/single-sign-on-ce21.php

    r2847175 r2850876  
    815815        'httpversion' => '1.1',
    816816        'sslverify' => false,
    817         'blocking' => false,
    818817        'headers' => array(
    819818            "Content-Type: application/json",
Note: See TracChangeset for help on using the changeset viewer.