# Login Popup doesn't work for private Discourse instance

**URL:** <https://meta.discourse.org/t/login-popup-doesnt-work-for-private-discourse-instance/47610>\
**Category:** Product Support\
**Created:** [2016 年 7 月 21 日午後 4:52 UTC](https://meta.discourse.org/t/login-popup-doesnt-work-for-private-discourse-instance/47610 "2016-07-21T16:52:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)\
**Post date:** [2016 年 7 月 21 日午後 4:52 UTC](https://meta.discourse.org/t/login-popup-doesnt-work-for-private-discourse-instance/47610/1 "2016-07-21T16:52:31Z")

</div>

I have an instance where public registration is not allowed and new members must be invited by other members. When you go to [forum.com/login](http://forum.com/login), the login modal window doesn’t open automatically and you have to click on the login button to open it.

However, if I enable signups, but still keep the forum private, then [forum.com/signup](http://forum.com/signup) opens the signup modal window but [forum.com/login](http://forum.com/login) doesn’t open the login modal window.

If i make it a public forum, allowing public registrations and anonymous access, then both modal windows open, on [forum.com/login](http://forum.com/login) as well as [forum.com/signup](http://forum.com/signup)

I have tried removing css customizations. Any tips? Is this a bug?

---

_[View the full topic](https://meta.discourse.org/t/login-popup-doesnt-work-for-private-discourse-instance/47610)._
