1
0
Fork 0
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 Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
comments
context
cron Use a better OlderThan for DeleteInactiveUsers (#19693) 2022-05-13 14:49:22 +02:00
externalaccount
forms
gitdiff
issue Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
lfs Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
mailer
migrations Update go tool dependencies (#19676) 2022-05-10 23:55:54 +02:00
mirror
org
packages
pull Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
release
repository Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
task
user
webhook
wiki