Login Popup doesn't work for private Discourse instance


#1

I have an instance where public registration is not allowed and new members must be invited by other members. When you go to AchieveForum ‹ Log In, 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 opens the signup modal window but AchieveForum ‹ Log In 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 AchieveForum ‹ Log In as well as forum.com/signup

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


(Jeff Atwood) #2

Possibly, @techapj can you add to your list to check this out later?


(Allen - Watchman Monitoring) #3

I mentioned this here:

but I’m not sure what happened to post I linked to in that comment, which was titled signup and login don't work on a private instance


(Arpit Jalan) #4

www.forum.com/login will show login modal only when login required is disabled.

If the forum is not public (i.e. login required is enabled) then www.forum.com/login will always show login page.


#5

@techAPJ Isn’t that strange? If I have a private forum, shouldn’t the homepage be a login page where you can login directly (through a modal) instead of having to click the login button?


(Allen - Watchman Monitoring) #6

If the forum is login required, then why wouldn’t /login bring up the login modal as it does on forums where login isn’t required?


(Arpit Jalan) #7

Because in case of login required forums /login page is their homepage which is there to give anonymous users more information about the community they want access to, and how to get access.

In case of public forums since the forum is open, anonymous user directly sees what the community is all about via /latest or /categories page, so /login page doesn’t makes sense and we show login modal instead.

Also, in case of login required forums, some Admins want to further customize their /login page by adding background image, customized text, etc. So it doesn’t make sense to force login modal there. Some examples of such communities:

https://circleforum.squarespace.com/login
https://community.pleasecreate.com/login
http://parley.rubyrogues.com/login

I hope this makes it clear.


#8

Can we have a setting where the admin can choose whether to display the login modal or not (for private forums)?


(Allen - Watchman Monitoring) #9

I want to send emails to people and have a signin link… can we get /signin so that we can get the modal displayed?