Log in

Showing only login form and not any content without login?

pdp7Losing Braincells
  • 21 Nov '18

Is there anyway to make forum hidden from not logged in connections? It would be something I'd appreciate. Tried Apache password thingie, but it doesn't work correctly.

Still get content and can login and all, but without CSS.

If you have some easy way to do this, it would be wonderful!


nitelyEsteban Castro Borsani
  • 21 Nov '18

Yes, there is an easy way. Set ST_PRIVATE_FORUM setting to True.

docs: https://spirit.readthedocs.io/en/latest/settings.html#spirit.core.conf.defaults.ST_PRIVATE_FORUM

pdp7Losing Braincells
  • 21 Nov '18

Thanks a lot for this! Somehow this haven't catch the keen eye of servergeek :D

  • 11h

This doesn't seem to work at the moment. Fresh install, Python 3.7, Django 2.2, Spirit 0.7.1