You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!$this->isAdmin() && $this->config->get('plugins.login.built_in_css')) {
Should it not be based on:
/admin and below ro
/admin specific routes
the different login pages only (forgot, reset, register etc)
protected pages only
?
If the above is the desired goal, I can work on a PR. Not sure if that css is needed for anything else on every page as in my case, it is not at all, with my themes or other. But I may miss something :)
The text was updated successfully, but these errors were encountered:
Yeah, also I am not sure it makes sense to add it all the time but when the page is actually loaded. This is what assets functions are for, here it always adds it, no matter what :)
Thank you for this plugin! great work!
While trying it together with the admin plugin, I see that login.css is added to all pages, systematically. I tracked it down to:
grav-plugin-login/login.php
Line 736 in 134b6a7
Should it not be based on:
/admin and below ro
?
If the above is the desired goal, I can work on a PR. Not sure if that css is needed for anything else on every page as in my case, it is not at all, with my themes or other. But I may miss something :)
The text was updated successfully, but these errors were encountered: