Send Invites button visibility issue with local logins disabled
JezPez reported a bug where the “Send Invites” button is visible even when enable_local_logins is set to false. This is an issue because the invite feature relies on local logins. JezPez provided a screenshot of the problem and mentioned that there are no console errors or error logs.
tshenry attempted to reproduce the issue but was unable to do so. However, JezPez clarified that the site has OAuth enabled through a plugin, which sets enable_local_logins to false. When this setting is reverted to true, the pending invites appear.
JezPez concluded that the bug is that the “Invite Users” button should be hidden when enable_local_logins is false.
The issue was fixed by techAPJ through a commit to the Discourse repository.
I’m also not sure what the experience is supposed to be? Is a modal supposed to appear?
Thanks guys.
EDIT: We have enable_local_logins: false. As the invite feature needs local logins, this Send Invites button shouldn’t be visible if enable_local_logins: false
I’m not able to reproduce this. When you click on the “Send Invites” button in the admin panel, it should take you to /u/jesse/invited/pending. Though, it doesn’t look like you even have an “Invites” tab on your user profile.
Is there any change in behavior when trying the same thing in safe mode? Have you enabled SSO out of curiosity?