ive found this post, but i dont understand how to get a csrf token
https://community.nodebb.org/topic/6932/how-to-get-a-csrftoken-from-an-api-req-object/4
Is it possible to remove the ability to switch themes from the Admin CP?
-
@omega Hi. I'm developing locally, but the theme does a lot of stuff that links it with the rest of our infrastructure. While I'm not expecting someone to do it, you can never be to careful if someone does something stupid. I'd rather have contingencies than relying on people not to let the curiosity get the better of them.
-
You could create a plugin that overrides the ACP templates, removes the theme route entirely, or hides the relevant buttons with CSS