Account suspended flash message not shown for Facebook login

I’ve tested this on try.discourse.org by creating a user with Facebook login, then suspending the user, then trying to login through Facebook. Login is unsuccessful, but there is no notice shown to the user to indicate why. I would expect the login.suspended_with_reason message to be shown.

From another report that I have seen, it seems that a similar issue is affecting SAML login for suspended users. I think this is a recent regression.

4 Likes

Oops my bad. The 2FA login changes introduced a bug client side.

https://github.com/discourse/discourse/commit/1c208ef3f0bdbead342c3e3f0b06c3617bf05268

7 Likes