Skip to content

Commit 3e4c268

Browse files
committed
Use || instead of or
1 parent af2d994 commit 3e4c268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FlarumAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function beginPrimaryAuthentication( array $reqs ) {
7373
$username = $req->username;
7474
$userNameUtils = MediaWikiServices::getInstance()->getUserNameUtils();
7575
$canonicalUsername = $userNameUtils->getCanonical( $username, UserNameUtils::RIGOR_USABLE );
76-
if ( $username === false or $canonicalUsername === false ) {
76+
if ( $username === false || $canonicalUsername === false ) {
7777
return AuthenticationResponse::newAbstain();
7878
}
7979

0 commit comments

Comments
 (0)