]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
[quix0rs-gnu-social.git] / plugins / ReverseUsernameAuthentication / ReverseUsernameAuthenticationPlugin.php
index d157ea067cf70def1d750451b63d6e93473dd3ae..d9d2137f827dded3ade0f7ee6b2de6160a3f2679 100644 (file)
@@ -53,4 +53,15 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
         $registration_data['nickname'] = $username ;
         return User::register($registration_data);
     }
+
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'Reverse Username Authentication',
+                            'version' => STATUSNET_VERSION,
+                            'author' => 'Craig Andrews',
+                            'homepage' => 'http://status.net/wiki/Plugin:ReverseUsernameAuthentication',
+                            'rawdescription' =>
+                            _m('The Reverse Username Authentication plugin allows for StatusNet to handle authentication by checking if the provided password is the same as the reverse of the username.'));
+        return true;
+    }
 }