# “Signup After Approval” Email Template Won't Save

**URL:** https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801
**Category:** Support
**Created:** [October 11, 2019, 5:32pm UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801 "2019-10-11T17:32:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [October 11, 2019, 5:32pm UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801/1 "2019-10-11T17:32:18Z")

</div>

Error: `The following interpolation key(s) are invalid: "email_token"`

I see this solution below, but doesn’t the user need the token to click and complete their signup?

> [@Issues with "Signup After Approval" Email Template](https://meta.discourse.org/t/issues-with-signup-after-approval-email-template/81185):
>
> Users who are approved on my Discourse install are supposed to receive an email with the contents of the “Signup After Approval” email, but instead, are receiving an email with the correct subject line, but the body contents of simply translation missing: en.user\_notifications.signup\_after\_approval.text\_body\_template When I go to look at the contents of the email template in the Discourse settings, the contents are correct. If I try to save any edits to the “Signup After Approval” template how…

Just removing `%{email_token}` is ok?

Here is the full template:

> Welcome to %{site\_name}! A staff member approved your account on %{site\_name}. Click the following link to confirm and activate your new account: %{base\_url}/users/activate-account/%{email\_token} If the above link is not clickable, try copying and pasting it into the address bar of your web browser. (If you need to communicate with site Admins as a new user, just reply to this message.)

Is this template obsolete and should be rewritten w/o mention of clicking any link?

📓 We did turn _“Approve Users”_ on after being under SSO for a couple years.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 11, 2019, 5:53pm UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801/2 "2019-10-11T17:53:35Z")

</div>

> [@kimardenmiller](#):
>
> Here is the full template:

Have you previously customized the `user_notifications.signup_after_approval.text_body_template`?

The default text I’m seeing for this template in the `server.en.yml` file is:

```plaintext
        Welcome to %{site_name}!

        A staff member approved your account on %{site_name}.

        You can now access your new account by logging in at:
        %{base_url}

        If the above link is not clickable, try copying and pasting it into the address bar of your web browser.

        %{new_user_tips}

        We believe in [civilized community behavior](%{base_url}/guidelines) at all times.

        Enjoy your stay!

```

It doesn’t contain an `%{email_token}` key.

---

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [October 11, 2019, 6:32pm UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801/3 "2019-10-11T18:32:08Z")

</div>

> [@simon](#):
>
> Have you previously customized the `user_notifications.signup_after_approval.text_body_template` ?

Not that I’m aware, and that text does not look like anything our mods would have written.

Our users have already confirmed their email by the time they are approved, so it’s logical they don’t need that token. Removed and the template saves fine.

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 14, 2023, 2:49pm UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801/4 "2023-06-14T14:49:43Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 3, 2023, 11:50am UTC](https://meta.discourse.org/t/signup-after-approval-email-template-wont-save/130801/5 "2023-07-03T11:50:30Z")

</div>


