# Text on suspension message is cut off

**URL:** https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395
**Category:** Bug
**Created:** [May 28, 2015, 10:59pm UTC](https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395 "2015-05-28T22:59:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [May 28, 2015, 10:59pm UTC](https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395/1 "2015-05-28T22:59:17Z")

</div>

Spotted by someone else, repro on a different instance.

- Suspend user
- User is logged out
- User logs back in, which is rejected and user gets incorrect message

 ![](https://global.discourse-cdn.com/meta/original/3X/8/6/86eb046ac51500b103144d1e2f2aba694f1d6b67.png) 

(14 days from today is June 11th)

Usercard shows it correctly though.  
 ![](https://global.discourse-cdn.com/meta/original/3X/f/5/f5aae4ff04fc98474ff303eb438c74937b0b90fe.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 28, 2015, 11:06pm UTC](https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395/2 "2015-05-28T23:06:00Z")

</div>

Not sure where the date is going wrong, but I changed the copy to be simpler, and thus fit more on a single line:

```
suspended_with_reason: "Account suspended until %{date}: %{reason}"

```

@techapj can you look into the date oddity?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 29, 2015, 7:45am UTC](https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395/3 "2015-05-29T07:45:55Z")

</div>

Should be fixed via:

[https://github.com/discourse/discourse/pull/3511](https://github.com/discourse/discourse/pull/3511)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 29, 2015, 7:58am UTC](https://meta.discourse.org/t/text-on-suspension-message-is-cut-off/29395/4 "2015-05-29T07:58:43Z")

</div>


