Config endpoint should typecheck
(original title: Frontend management breaks if you try to add custom frontend)
In AdminFE Frontends -> Available you supposedly could set/add a custom frontend definition, however it breaks frontends list entirely. Upon close inspection it seems that AdminFE just overwrites an array of available frontends with just one frontend definition as-is. Hypothetically it is an AdminFE bug, but it's weird that backend just... allows it to happen.
Edited by tusooa