summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Authentication/AuthenticationPlugin.php2
-rw-r--r--plugins/LdapAuthentication/LdapAuthenticationPlugin.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Authentication/AuthenticationPlugin.php b/plugins/Authentication/AuthenticationPlugin.php
index ef78c7ce4..e3e55fea6 100644
--- a/plugins/Authentication/AuthenticationPlugin.php
+++ b/plugins/Authentication/AuthenticationPlugin.php
@@ -107,7 +107,7 @@ abstract class AuthenticationPlugin extends Plugin
parent::__construct();
}
- function StartCheckPassword($nickname, $password, &$authenticatedUser){
+ function onStartCheckPassword($nickname, $password, &$authenticatedUser){
if($this->password_changeable){
$authenticated = $this->checkPassword($nickname, $password);
if($authenticated){
diff --git a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
index f14080b2d..d3ccd93b6 100644
--- a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
+++ b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
@@ -34,7 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
require_once INSTALLDIR.'/plugins/Authentication/AuthenticationPlugin.php';
require_once 'Net/LDAP2.php';
-class LdapAuthenticatonPlugin extends AuthenticationPlugin
+class LdapAuthenticationPlugin extends AuthenticationPlugin
{
public $host=null;
public $port=null;