Creating email method for auth but how i can add username?

Hey All\

I am creating a hackernews clone, and i want to add email-password login, which is working great. thank you for that.
But, unfortunately i couldn't succeed to add username to form without rewriting all SignupForm component. Is there a way to add username field to SignupForm component without overriding it? Its using Auth component and that component is handling a lot thing about registration, i do not want to copy-paste all that code in a new file and making things complicated.

Thank you for all suggestions.
Was this page helpful?