Text on suspension message is cut off

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

(14 days from today is June 11th)

Usercard shows it correctly though.

5 Likes

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?

Should be fixed via:

https://github.com/discourse/discourse/pull/3511

2 Likes