Skip to content

Commit

Permalink
Release 0.0.4 adds additional check to prevent showing 'Bots' as logg…
Browse files Browse the repository at this point in the history
…ed in. Potentially fixing any errors some users are having.
  • Loading branch information
ajquick committed Sep 12, 2018
1 parent 8c41901 commit 17e9f27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PhpbbAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$user->setup();
$request->enable_super_globals();

if ( $user->data['user_id'] != ANONYMOUS ) {
if ( $user->data['user_id'] != ANONYMOUS && !$user->data['is_bot'] ) {

$wgAuthRemoteuserUserName = ucfirst( strtolower( $user->data['username'] ) );
$wgAuthRemoteuserUserPrefs = [
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "multidimensional/phpbbauth",
"type": "mediawiki-extension",
"description": "A Mediawiki extension for phpBB authentication using Auth_remoteuser.",
"version": "0.0.4-dev",
"version": "0.0.4",
"homepage": "https://github.com/multidimension-al/cakephpify",
"license": "MIT",
"authors": [{
Expand Down
2 changes: 1 addition & 1 deletion extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phpBBAuth",
"version": "0.0.4-dev",
"version": "0.0.4",
"author": [
"[https://multidimension.al/ multidimension.al]"
],
Expand Down

0 comments on commit 17e9f27

Please sign in to comment.