qpixel icon indicating copy to clipboard operation
qpixel copied to clipboard

User avatar blocked when user receives a moderator warning

Open trichoplax opened this issue 1 year ago • 1 comments

Describe the bug When a user has a warning they cannot visit any page after signing in until ticking to acknowledge the warning. This is as intended. However, this also prevents loading their avatar image, breaking their avatar at the top right of the page until they tick the box and press continue.

To Reproduce Steps to reproduce the behavior:

  1. As a moderator, issue a moderator warning to a user.
  2. As that user, sign in and see the warning message.
  3. Notice that the avatar has been replaced with the text "user avatar".
  4. Tick the box to acknowledge the warning.
  5. Press Continue.
  6. Notice that the avatar now shows correctly again.

Expected behavior The user avatar could show as normal, by excluding it from the redirect to the warning page.

trichoplax avatar Jun 28 '24 14:06 trichoplax

Defer until after mod-tools in case there are interactions. (Yes it's annoying, but it's also a rare case.)

cellio avatar Sep 08 '24 04:09 cellio