Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Registration requiring username but no input is showing #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marcelaodev
Copy link

Description

This fixes a problem when I try to create an user. It complains I haven't filled the "username" field but there is no input in the page for me to fill.
Also fixes it creating a User entry on database before filling it with user input values which in turn produces a NOT NULL error on database because it tries to save the user entry with only created_at and updated_at.

Evidence

Even on live demo at https://realworld-tall-app.fly.dev it can be observed:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant