PHPackages                             dnadesign/silverstripe-idlelock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. dnadesign/silverstripe-idlelock

ActiveSilverstripe-vendormodule[Security](/categories/security)

dnadesign/silverstripe-idlelock
===============================

Idle accounts are the security vulnerability's gateway

1.1.0(1y ago)01401BSD-3-ClausePHP

Since Feb 7Pushed 1y ago5 watchersCompare

[ Source](https://github.com/dnadesign/silverstripe-idlelock)[ Packagist](https://packagist.org/packages/dnadesign/silverstripe-idlelock)[ RSS](/packages/dnadesign-silverstripe-idlelock/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

IdleLock
========

[](#idlelock)

Safeguard your SilverStripe site by automatically locking idle member accounts.

The default threshold can be configured, and may be specified per security group.

A Locked User report is included.

Requirements
------------

[](#requirements)

- SilverStripe ^4.13 || ^5.1

Installation
------------

[](#installation)

`composer require dnadesign/silverstripe-idlelock`

Configuration
-------------

[](#configuration)

To automatically lock idle member accounts, set up a cron to run the **LockMembersTask** task at your desired frequency.

To set a global default lockout threshold, set the config in your project:

```
SilverStripe\Security\Member:
  lockout_threshold_days: 30

```

To allow users to be exempt from lockout, controlled by a checkbox on the member profile or a security group, set the config in your project:

```
SilverStripe\Security\Member:
  lockout_exempt: true

SilverStripe\Security\Group:
  lockout_exempt: true

```

To update the default message shown to locked out users at the login screen, use the LockoutMessage field in the CMS &gt; Settings &gt; Access tab

Usage
-----

[](#usage)

Once the cron is set, unless exempt, member accounts will automatically lock if they don't log in for a period longer than the lockout threshold.

Locked users will see a message on the login screen indicating why they can't log in.

To unlock the user, an admin must view the *Member* record in the CMS and uncheck the 'Locked' checkbox.

To set a custom lockout threshold for members of a group, update the *LockoutThresholdDays* field for that Group in the security admin.

- If the user is a member of multiple groups, the lowest threshold will apply.
- The group threshold cannot be used to increase the threshold beyond the global default.

Use the *LockoutExempt* field on a Member or a Group to excuse the member or members of the group from the lockout feature.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Total

3

Last Release

712d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/efd88fa106982bcf2e3cd689e6a37d352c54308d14dedeac4ac477a47a432363?d=identicon)[DNADesign](/maintainers/DNADesign)

---

Top Contributors

[![jules0x](https://avatars.githubusercontent.com/u/8979741?v=4)](https://github.com/jules0x "jules0x (3 commits)")[![michalkleiner](https://avatars.githubusercontent.com/u/233342?v=4)](https://github.com/michalkleiner "michalkleiner (2 commits)")[![alex-dna](https://avatars.githubusercontent.com/u/6982515?v=4)](https://github.com/alex-dna "alex-dna (1 commits)")

---

Tags

securitysilverstripecmsAccount management

### Embed Badge

![Health badge](/badges/dnadesign-silverstripe-idlelock/health.svg)

```
[![Health](https://phpackages.com/badges/dnadesign-silverstripe-idlelock/health.svg)](https://phpackages.com/packages/dnadesign-silverstripe-idlelock)
```

###  Alternatives

[bringyourownideas/silverstripe-maintenance

Toolset to help with the day by day maintenance work.

32221.8k4](/packages/bringyourownideas-silverstripe-maintenance)[bringyourownideas/silverstripe-composer-security-checker

Provides information if your SilverStripe application uses dependencies with known vulnerabilities.

11103.9k2](/packages/bringyourownideas-silverstripe-composer-security-checker)[feejin/silverstripe-securitytemplates

Custom security templates to mirror CMS

128.1k1](/packages/feejin-silverstripe-securitytemplates)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
