# Facebook 登录未显示账号被封禁的闪烁提示

**URL:** <https://meta.discourse.org/t/account-suspended-flash-message-not-shown-for-facebook-login/82542>\
**Category:** Bug\
**Created:** [2018年三月8日 19:23 UTC](https://meta.discourse.org/t/account-suspended-flash-message-not-shown-for-facebook-login/82542 "2018-03-08T19:23:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2018年三月8日 19:23 UTC](https://meta.discourse.org/t/account-suspended-flash-message-not-shown-for-facebook-login/82542/1 "2018-03-08T19:23:09Z")

</div>

I’ve tested this on [try.discourse.org](http://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.

---

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [2018年三月13日 03:29 UTC](https://meta.discourse.org/t/account-suspended-flash-message-not-shown-for-facebook-login/82542/4 "2018-03-13T03:29:44Z")

</div>

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

[https://github.com/discourse/discourse/commit/1c208ef3f0bdbead342c3e3f0b06c3617bf05268](https://github.com/discourse/discourse/commit/1c208ef3f0bdbead342c3e3f0b06c3617bf05268)

---

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [2018年三月13日 03:29 UTC](https://meta.discourse.org/t/account-suspended-flash-message-not-shown-for-facebook-login/82542/5 "2018-03-13T03:29:46Z")

</div>


