Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 26.4.10, which is no longer the latest release. See the latest release.

Inactive Accounts and License Seats

Gitea Enterprise can automatically deactivate users who have not been active for a configured number of days. Deactivated users do not consume a license seat and are reactivated automatically the next time they sign in.

  1. Open Site Administration > Users.
  2. Click Check Inactive Accounts.
  3. Check Enable.
  4. Enter the number of Inactive Days.
  5. Click Save.

The setting must be at least 1 day. Users with no activity for the configured period are set to inactive. Inactive users are reactivated automatically when they next use Gitea.

The inactive-accounts page lists the users that have been automatically deactivated. Use the status filters and sort controls to review or search the list before taking further action.

An active user occupies one Enterprise license seat. Automatically deactivated users are excluded from the license user count until they sign in again, so the feature helps keep the active user count within the purchased limit.

Automatic deactivation of inactive accounts was introduced in Gitea Enterprise v26.