Not a developer? Go to MovableType.com

Documentation

Account Lockout Callbacks

The following callbacks were introduced for the Account Lockout function.

PreLockout

<p>PreLockout is called <strong>before</strong> the system locks out users or IPs.</p>

    <pre class="prettyprint"><code class="language-perl">sub pre_lockout.user {
my ($cb, $app, $login, $ip) = @_;
#do something

} sub prelockout.ip { my ($cb, $app, $login, $ip) = @; #do something }

PostLockout

PostLockout is called after the system locks out users or IPs.

<pre class="prettyprint"><code class="language-perl">sub post_lockout.user {
my ($cb, $app, $login, $ip) = @_;
#do something

} sub postlockout.ip { my ($cb, $app, $login, $ip) = @; #do something }

Back

Leave a Comment