1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 04:04:59 +01:00
gitea/services
Gusted 61f939359d
Use a better OlderThan for DeleteInactiveUsers (#19693)
* Use a better OlderThan for DeleteInactiveUsers

- Currently the OlderThan is zero, for instances that enable or run this
task this could actually delete just new users that still need to
confirm their email. This patch fixes that by setting the default to the
`ActiveCodeLives` setting, which corresponds to the amount of time that
a user can active their account, thus avoiding the issue of deleting
unactivated email users.

* Use correct duration
2022-05-13 14:49:22 +02:00
..
agit
asymkey
attachment
auth
automerge
comments
context
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
migrations
mirror
org
packages
pull
release
repository
task
user
webhook
wiki