From: Matthijs Kooijman Date: Mon, 28 Jun 2010 19:59:10 +0000 (+0200) Subject: auth: Rename the phpbb_login class to PhpbbAuth. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1ff01c4c02fb90c83980721072a5eb982b59f321;p=matthijs%2Fprojects%2Fwipi.git auth: Rename the phpbb_login class to PhpbbAuth. --- 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,