From 1ff01c4c02fb90c83980721072a5eb982b59f321 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 28 Jun 2010 21:59:10 +0200 Subject: [PATCH] auth: Rename the phpbb_login class to PhpbbAuth. --- conf/auth/phpbb_login.py | 2 +- conf/farmconfig.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/auth/phpbb_login.py b/conf/auth/phpbb_login.py index 8f0b968..3c1f806 100644 --- a/conf/auth/phpbb_login.py +++ b/conf/auth/phpbb_login.py @@ -110,7 +110,7 @@ class PhpbbGroupsBackend(LazyGroupsBackend): if conn: conn.close() -class phpbb_login(BaseAuth): +class PhpbbAuth(BaseAuth): logout_possible = True login_inputs = ['username', 'password'] diff --git a/conf/farmconfig.py b/conf/farmconfig.py index 57511d0..8043ed3 100644 --- a/conf/farmconfig.py +++ b/conf/farmconfig.py @@ -165,9 +165,9 @@ class FarmConfig(DefaultConfig): require_comment = True # Authentication - from auth.phpbb_login import phpbb_login # This comes from plugin + from auth.phpbb_login import PhpbbAuth # This comes from plugin from dbsettings import phpbb_dbhost, phpbb_dbuser, phpbb_dbpass, phpbb_dbname - phpbb = phpbb_login( + phpbb = PhpbbAuth( name = 'phpbb', dbhost = phpbb_dbhost, dbuser = phpbb_dbuser, -- 2.30.2