---
title: "Configure Inactivation Period"
slug: "configure-inactivation-period"
updated: 2025-07-11T20:28:40Z
published: 2025-07-11T20:28:40Z
canonical: "documentation.encodify.com/configure-inactivation-period"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.encodify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Inactivation Period

## Overview

---

To maintain security and ensure active user management, Encodify supports automatic inactivation of users based on inactivity over a defined period. This feature inactivates users who have not logged in, been created, or reactivated within a specified timeframe, on a per-site basis.

Administrators can configure the inactivity period, send reminder emails before inactivation, and customise the reminder message content to inform users in advance.

## Configuring User Inactivation

---

To set up automatic user inactivation:

1. Go to **System Configuration** → **Edit Site** → **Users**.
2. Find **Inactivate users if not logged in after** and enter the number of days a user can stay inactive before their account is inactivated.
3. Enter how many days before inactivation you want to send a reminder in **Send inactivation reminder before**.
4. Edit the **Reminder Email Subject** and the **Reminder Email Body** to customise the reminder message users will receive.

## How Inactivation Works

---

User inactivation is site-specific and determined by comparing the **dateLimit** with three date fields stored in the “User Site” table in the database:

- Last login date
- User creation date
- User reactivation date

If **any of these three** dates are before the set inactivity limit, the user will be inactivated on that site.

## When Does the System Check for Inactive Users?

---

The system runs this check:

- When the system starts up
- Every midnight
- Whenever site user inactivation settings are saved

## What Happens If You Enable Inactivation After Users Are Already Inactive?

---

If you set the inactivity period after users have already been inactive for longer than that period, the system will inactivate those users as soon as it runs the next check.

For example:

- You set the inactivity period to 10 days today.
- Some users haven’t logged in for 12 days.
- Those users will be inactivated the next time the system checks, even though the inactivity setting wasn’t in place before.
