Suspended user email appears on public profile

When a user is suspended they can get an option email message explaining the suspension. The email content is intended to be private, unlike the suspension reason which is visible to all users. Currently, a suspended user’s suspension email content is seen on their public profile, as well as when they attempt to log in.

cc @eviltrout

2 Likes

Good catch. I feel dumb about this one, but here’s a fix:

https://github.com/discourse/discourse/commit/4ae1bbaebaf5953bf1d1d18aadd9d1f6acbeb805

5 Likes