Changeset 2674468
- Timestamp:
- 02/07/2022 04:57:11 PM (4 years ago)
- Location:
- loginshield/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
loginshield.php (modified) (1 diff)
-
src/RealmClient.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
loginshield/trunk/README.txt
r2674459 r2674468 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 Stable tag: v1.0.1 510 Stable tag: v1.0.16 11 11 12 12 LoginShield for WordPress is the secure and convenient way to login to your WordPress site. It's easy to use and protects users against password and phishing attacks. -
loginshield/trunk/loginshield.php
r2622932 r2674468 21 21 * Plugin URI: https://loginshield.com 22 22 * Description: LoginShield for WordPress is a more secure login for WordPress sites. It's easy to use and protects users against password and phishing attacks. 23 * Version: 1.0.1 523 * Version: 1.0.16 24 24 * Author: Cryptium 25 25 * Author URI: https://cryptium.com -
loginshield/trunk/src/RealmClient.php
r2517999 r2674468 74 74 $response = json_decode($apiResponseBody); 75 75 76 if ($response && $response->isCreated) {76 if ($response && isset($response->isCreated)) { 77 77 return $response; 78 78 } … … 123 123 $response = json_decode($apiResponseBody); 124 124 125 if ($response && $response->isCreated && $response->forward&& str_starts_with($response->forward, $this->endpointURL)) {125 if ($response && isset($response->isCreated) && isset($response->forward) && str_starts_with($response->forward, $this->endpointURL)) { 126 126 return $response; 127 127 } … … 162 162 $response = json_decode($apiResponseBody); 163 163 164 if ($response && $response->isDeleted) {164 if ($response && isset($response->isDeleted)) { 165 165 return $response; 166 166 } … … 204 204 $response = json_decode($apiResponseBody); 205 205 206 if ($response && $response->forward&& str_starts_with($response->forward, $this->endpointURL)) {206 if ($response && isset($response->forward) && str_starts_with($response->forward, $this->endpointURL)) { 207 207 return $response; 208 208 }
Note: See TracChangeset
for help on using the changeset viewer.