}
$status = $bp->getRestrictions()->check( $request );
- if ( !$status->isOk() ) {
+ if ( !$status->isOK() ) {
$this->logger->info(
'Session "{session}": Restrictions check failed',
[
/**
* @codeCoverageIgnore
+ * @inheritDoc
*/
public function preventSessionsForUser( $username ) {
BotPassword::removeAllPasswordsForUser( $username );