summaryrefslogtreecommitdiffstats
path: root/integrations/api_packages_generic_test.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-05-13 14:49:22 +0200
committerGitHub <noreply@github.com>2022-05-13 14:49:22 +0200
commit61f939359d0b5b478962d7afdc053af23836461f (patch)
treee8794a2426f79ed435957b2324720779cf78107a /integrations/api_packages_generic_test.go
parentcafa2dcb871961c3314b5a6bfafa666153712bb4 (diff)
downloadgitea-61f939359d0b5b478962d7afdc053af23836461f.tar.gz
gitea-61f939359d0b5b478962d7afdc053af23836461f.zip
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
Diffstat (limited to 'integrations/api_packages_generic_test.go')
0 files changed, 0 insertions, 0 deletions