case FormError.INVALID_USERNAME:
return 'Aðeins bókstafir, bandstrik og undirstrik eru leyfileg. Lágmark 5 stafir.';
People tend to believe that this error message is referring to their password. I ran into this myself and was over 15 minutes to pick a password while it was complaining about my username the whole time. :P
People tend to believe that this error message is referring to their password. I ran into this myself and was over 15 minutes to pick a password while it was complaining about my username the whole time. :P
https://github.com/cadia-lvl/samromur/blob/adaa1d3cbd4d119684a0fa5331fc06fc5658298c/src/components/login/login-form.tsx#L161