PluginProbe
OttoKit: All-in-One Automation Platform / 1.1.6
OttoKit: All-in-One Automation Platform v1.1.6
1.1.38 1.1.37 1.1.36 1.1.35 1.1.34 1.1.33 1.1.32 1.1.31 1.1.30 1.1.29 1.1.28 1.1.27 1.1.9 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 All 124 releases
← All changes | src/Controllers/AuthController.php +1 -1 trunk1.1.6 View file →
@@ -72,9 +72,9 @@
72 72 if ( empty( $secret_key ) ) {
73 73 return;
74 74 }
75 75
76 - if ( ! is_string( $this->secret_key ) || ! hash_equals( $this->secret_key, $secret_key ) ) {
76 + if ( $this->secret_key !== $secret_key ) {
77 77 return RestController::error_message( 'Invalid secret key.' );
78 78 }
79 79
80 80 // delete the suretrigger_options from wp_options table once the connection is deleted on SAAS.