]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fixes for RegisterThrottle plugin: alt registration methods (OpenID, FBConnect, Twitt...
authorBrion Vibber <brion@pobox.com>
Wed, 5 Jan 2011 20:26:20 +0000 (12:26 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 5 Jan 2011 20:28:02 +0000 (12:28 -0800)
commitd0d39b51b8b85a86d8d62a4327d2f119d003cb78
tree152ebe0ef78b32da2d447afbb846098f8cbc93b8
parentfb9ecddbf16ad3b33466732334aaafdd92719c30
Fixes for RegisterThrottle plugin: alt registration methods (OpenID, FBConnect, Twitter) weren't triggering the throttle check or recording of IPs.

Added StartRegistrationTry/EndRegistrationTry calls into those three, and moved the actual recording hook to EndUserRegister which is guaranteed to be called from User::register (so we don't need to worry about other auth methods forgetting to call the other UI-code hooks).
plugins/Facebook/FBConnectAuth.php
plugins/OpenID/finishopenidlogin.php
plugins/RegisterThrottle/RegisterThrottlePlugin.php
plugins/TwitterBridge/twitterauthorization.php