diff --git a/roles/mediawiki/templates/Auth_FAS.ONLYCLA.php.j2 b/roles/mediawiki/templates/Auth_FAS.ONLYCLA.php.j2 deleted file mode 100644 index 437f141c45..0000000000 --- a/roles/mediawiki/templates/Auth_FAS.ONLYCLA.php.j2 +++ /dev/null @@ -1,128 +0,0 @@ -set('create', false); - $template->set('useemail', false); - $template->set('usedomain', false); - } - - function updateUser( &$user ){ - $user->mEmail = strtolower($user->getName())."@fedoraproject.org"; - return true; - } - - function autoCreate() { - return true; - } - - function setPassword($password) { - return false; - } - - function setDomain( $domain ) { - $this->domain = $domain; - } - - function validDomain( $domain ) { - return true; - } - - function updateExternalDB($user) { - return true; - } - - function canCreateAccounts() { - return false; - } - - function addUser($user, $password) { - return true; - } - - function strict() { - return true; - } - - function strictUserAuth( $username ) { - return true; - } - - function allowPasswordChange() { - return false; - } - - function initUser(&$user) { - $user->mEmail = strtolower($user->getName())."@fedoraproject.org"; - $user->mEmailAuthenticated = wfTimestampNow(); - $user->setToken(); - $user->saveSettings(); - return true; - } -} - -/** - * Some extension information init - */ -$wgExtensionCredits['other'][] = array( - 'name' => 'Auth_FAS', - 'version' => '0.9.1', - 'author' => 'Nigel Jones', - 'description' => 'Authorisation plugin allowing login with FAS2 accounts' -); - -?> diff --git a/roles/mediawiki/templates/Auth_FAS.php.j2 b/roles/mediawiki/templates/Auth_FAS.php.j2 deleted file mode 100644 index 281aaa64eb..0000000000 --- a/roles/mediawiki/templates/Auth_FAS.php.j2 +++ /dev/null @@ -1,135 +0,0 @@ -set('create', false); - $template->set('useemail', false); - $template->set('usedomain', false); - } - - function updateUser( &$user ){ - $user->mEmail = strtolower($user->getName())."@fedoraproject.org"; - return true; - } - - function autoCreate() { - return true; - } - - function setPassword($password) { - return false; - } - - function setDomain( $domain ) { - $this->domain = $domain; - } - - function validDomain( $domain ) { - return true; - } - - function updateExternalDB($user) { - return true; - } - - function canCreateAccounts() { - return false; - } - - function addUser($user, $password) { - return true; - } - - function strict() { - return true; - } - - function strictUserAuth( $username ) { - return true; - } - - function allowPasswordChange() { - return false; - } - - function initUser(&$user) { - $user->mEmail = strtolower($user->getName())."@fedoraproject.org"; - $user->mEmailAuthenticated = wfTimestampNow(); - $user->setToken(); - $user->saveSettings(); - return true; - } -} - -/** - * Some extension information init - */ -$wgExtensionCredits['other'][] = array( - 'name' => 'Auth_FAS', - 'version' => '0.9.1', - 'author' => 'Nigel Jones', - 'description' => 'Authorisation plugin allowing login with FAS2 accounts' -); - -?>