1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-30 21:00:13 +02:00

Reduce visibility of 'throttle(...)' method that wrongly was 'public'

This commit is contained in:
Marco
2015-10-29 20:59:39 +01:00
parent 6ced34789f
commit 6ca92ecb11

View File

@@ -745,7 +745,7 @@ class Auth {
* @throws TooManyRequestsException if the number of allowed attempts/requests has been exceeded
* @throws AuthError if an internal problem occurred (do *not* catch)
*/
public function throttle($actionType, $customSelector = null) {
private function throttle($actionType, $customSelector = null) {
// if a custom selector has been provided (e.g. username, user ID or confirmation token)
if (isset($customSelector)) {
// use the provided selector for throttling