#77403CSRF protection not usable for anonymous users
Description
When a user is not logged in as frontend user, FormProtectionFactory::get() only returns a DisabledFormProtection, disabling all protection.
Bug #56633 where it was implemented does not say that it only should work for authenticated users.
FrontendFormProtection also fails if there is no user logged in.
So currently there is no official way to protect forms against CSRF attacks for non-logged in users.
A use case would be to prevent contact forms to be submitted without the user having a session, i.e. automated submissions by bots (spamming).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.