PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 6.3.0
Defender Security – Malware Scanner, Login Security & Firewall v6.3.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
← All changes | src/model/setting/class-two-fa.php +3 -1 6.1.0 → 6.3.0 View file →
@@ -223,9 +223,11 @@
223 223 *
224 224 * @return void
225 225 */
226 226 protected function after_load(): void {
227 - $this->user_roles = array_values( $this->user_roles );
227 + $this->user_roles = array_values( $this->user_roles );
228 + $this->force_auth_roles = array_values( array_intersect( $this->force_auth_roles, $this->user_roles ) );
229 + $this->force_auth = array() !== $this->force_auth_roles;
228 230 }
229 231
230 232 /**
231 233 * Check if a plugin is in conflict with the current instance.