Skip to content

Commit

Permalink
PHPCBF: Fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Robot committed Jul 18, 2024
1 parent 6e987f6 commit 6d7babc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/class-wp-saml-auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ public function filter_login_body_class( $classes ) {
public function filter_authenticate( $user, $username, $password ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable,Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed

$permit_wp_login = self::get_option( 'permit_wp_login' );
if (is_a( $user, 'WP_User' )) {
if ( is_a( $user, 'WP_User' ) ) {

if (!$permit_wp_login) {
if ( ! $permit_wp_login ) {
$user = $this->do_saml_authentication();
}

Expand Down

1 comment on commit 6d7babc

@jazzsequence
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beep boop 🤖

Please sign in to comment.