diff options
-rw-r--r-- | MoodlePasswordPrimaryAuthenticationProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MoodlePasswordPrimaryAuthenticationProvider.php b/MoodlePasswordPrimaryAuthenticationProvider.php index 75c9bef..1fb9891 100644 --- a/MoodlePasswordPrimaryAuthenticationProvider.php +++ b/MoodlePasswordPrimaryAuthenticationProvider.php @@ -165,8 +165,8 @@ class MoodlePasswordPrimaryAuthenticationProvider extends AbstractPrimaryAuthent * @param AuthenticationResponse $response */ public function postAuthentication( $user, AuthenticationResponse $response ) { - if ( $response->status !== AuthenticationResponse::PASS ) { - return; + if ( $response->status !== AuthenticationResponse::PASS ) { + return; } if ( empty( $this->tokens[$user->getName()] ) ) { |