Public Attributes | |
$blockedVar = 'attemptsEnded' | |
$timeRemainsVar = 'timeRemains' | |
$attemptsCount = 3 | |
$blockTime = 360 |
Protected Member Functions | |
preFilter ($filterChain) | |
postFilter ($filterChain) |
Checks if user has ability to perform login
Definition at line 6 of file BadLoginAttemptsFilter.php.
|
protected |
If user is guest after login attepmt then it means that password was invalid.
Increment counter in db by ip address
@param CFilterChain $filterChain the filter chain that the filter is on.
Definition at line 69 of file BadLoginAttemptsFilter.php.
|
protected |
Performs the pre-action filtering.
CFilterChain | $filterChain | the filter chain that the filter is on. |
Definition at line 42 of file BadLoginAttemptsFilter.php.
References LoginAttempt\model().
BadLoginAttemptsFilter::$attemptsCount = 3 |
BadLoginAttemptsFilter::$blockedVar = 'attemptsEnded' |
Controller var for storing flag described if attempts remains
string
Definition at line 13 of file BadLoginAttemptsFilter.php.
BadLoginAttemptsFilter::$blockTime = 360 |
BadLoginAttemptsFilter::$timeRemainsVar = 'timeRemains' |
Controller var for storing flag showing remained blocking time
string
Definition at line 20 of file BadLoginAttemptsFilter.php.