auth: Fix case of function call
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 3 Aug 2016 06:53:51 +0000 (23:53 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 3 Aug 2016 06:53:51 +0000 (23:53 -0700)
Change-Id: I415a7f7ba2ea97515a110cd963ed96bb77ec7b97

includes/auth/LocalPasswordPrimaryAuthenticationProvider.php

index 5f5ef79..bbc6e8d 100644 (file)
@@ -110,7 +110,7 @@ class LocalPasswordPrimaryAuthenticationProvider
                }
 
                $status = $this->checkPasswordValidity( $username, $req->password );
-               if ( !$status->isOk() ) {
+               if ( !$status->isOK() ) {
                        // Fatal, can't log in
                        return AuthenticationResponse::newFail( $status->getMessage() );
                }