# Override custom field

**URL:** <https://meta.discourse.org/t/override-custom-field/136985>\
**Category:** Development\
**Created:** [December 24, 2019, 3:08pm UTC](https://meta.discourse.org/t/override-custom-field/136985 "2019-12-24T15:08:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Dev\_Work](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dev_work/32/124200_2.png) [@Dev\_Work](https://meta.discourse.org/u/Dev_Work)\
**Post date:** [February 5, 2020, 11:55am UTC](https://meta.discourse.org/t/override-custom-field/136985/7 "2020-02-05T11:55:20Z")

</div>

Happened through `@computed`

```plaintext
        PreferencesAccount.reopen({
            @computed
            ldapForgotPassword() {
                console.log('forgot!!');
                return this.siteSettings.forum_login_popup_use_ldap;
            },

```

---

_[View the full topic](https://meta.discourse.org/t/override-custom-field/136985)._
