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.
Enable automatic deactivation
Section titled “Enable automatic deactivation”- Open
Site Administration > Users. - Click Check Inactive Accounts.
- Check Enable.
- Enter the number of Inactive Days.
- 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.
Review inactive accounts
Section titled “Review inactive accounts”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.
License seats
Section titled “License seats”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.
Availability
Section titled “Availability”Automatic deactivation of inactive accounts was introduced in Gitea Enterprise v26.