# Prevent deleting of abandoned, unactivated accounts?

**URL:** <https://meta.discourse.org/t/prevent-deleting-of-abandoned-unactivated-accounts/72237>\
**Category:** SSO\
**Created:** [2017 年10 月 17 日 00:14 UTC](https://meta.discourse.org/t/prevent-deleting-of-abandoned-unactivated-accounts/72237 "2017-10-17T00:14:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![kgoetz](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kgoetz](https://meta.discourse.org/u/kgoetz)\
发布日期： [2017 年10 月 21 日 03:53 UTC](https://meta.discourse.org/t/prevent-deleting-of-abandoned-unactivated-accounts/72237/4 "2017-10-21T03:53:27Z")

</div>

> [@vinothkannans](#):
>
> You can hide delete button for all users using HTML customization.

Hi Vinoth!,  
Thanks for the suggestion. In my case its the Discourse system user that I need to modify the behaviour of so I suspect I’ll need something lower level.

> [@fefrei](#):
>
> Set the site setting purge unactivated users grace period days to 0 to never purge unactivated users automatically 🙂

My understanding is that setting will stop Discourse (system user) from deleting spam accounts - is that the case?

thanks again to both of you,

---

_[View the full topic](https://meta.discourse.org/t/prevent-deleting-of-abandoned-unactivated-accounts/72237)._
