This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Would it be possible to load a component based on a condition? To be more precise, I need my app to be behind a login. The standard Rainlab user plugin would be fine for that. But, if a user is accessing the app from a trusted IP address they should be allowed access without login. The idea behind this is that we need a lot of people to access this app from a certain location and we don't want to bother them with logins. We also want admins to be able to use the app remotely so we can't use the server for IP filtering. Since the loading of component is done in the header I'm not sure if and how this could be done dynamically, any thoughts?
1-1 of 1