Hi !
I'm new to flarum and I'd like to publish a private forum.
Since I didn't find a way to moderate signups I decided to develop an extension that adds a password on the registration form. It's probably not the most secure, unless I add a fail2ban-like code but it's enough for my needs.
So I read the documentation and tried to extend the SignUpModal component to add a field for password.
Unfortunately just with this simple code I get an error :Cannot read properties of undefined (reading 'prototype')
Since I almost copied/pasted the documentation I don't understand where I'm wrong. Can you help me ?
Regards,
Emmanuel