-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add a separate event for login page rendering #39867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1facc8c to
40cf409
Compare
|
https://github.com/nextcloud/unsplash/blob/4c04d275e9e2469c5b6f1b3d2b6f24cfe9db9887/lib/EventListener/BeforeTemplateRenderedEventListener.php#L18 is the only non-core app I could find in a quick search that would need to be adjusted |
Seems safe to me to apply this change. |
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
ca5e283 to
1df3325
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new event is not emitted
|
The downside of having your dev setup perform the setup automatically 🙈 |

Only very few apps actually need to add their scripts/styles to the login page, but it's currently easy for apps to accidentally do that anyway.
By having a separate event, having your scripts on the login page becomes opt-in rather than opt-out.