We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2d994 commit 3e4c268Copy full SHA for 3e4c268
src/FlarumAuthenticationProvider.php
@@ -73,7 +73,7 @@ public function beginPrimaryAuthentication( array $reqs ) {
73
$username = $req->username;
74
$userNameUtils = MediaWikiServices::getInstance()->getUserNameUtils();
75
$canonicalUsername = $userNameUtils->getCanonical( $username, UserNameUtils::RIGOR_USABLE );
76
- if ( $username === false or $canonicalUsername === false ) {
+ if ( $username === false || $canonicalUsername === false ) {
77
return AuthenticationResponse::newAbstain();
78
}
79
0 commit comments