I have implemented a form which uses sc_set_theme to allow the user to set their theme. it works great, but when they logout, it applies the theme to the login form too, which I do not want. The login form has a background image etc and needs to look the same for all users. The other themes mess up the login screen.
I put an sc_set_theme in the sec_Login app (tried OnApplicationInit and OnScriptInit, both of which are meant to be in scope for a Control app) but SC completely ignores this macro when loading the login screen from the logout button.
How can I get the user’s theme to work everywhere except the login screen?