Text on suspension message is cut off


(loopback0 - TDWTF) #1

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.


(Jeff Atwood) #2

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?


(Arpit Jalan) #3

Should be fixed via:


(Arpit Jalan) #4