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

Refractor user validation done in signup and login controllers #1

Open
adarsh-shahi opened this issue Mar 18, 2023 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@adarsh-shahi
Copy link
Owner

src -> app -> controllers -> auth.ts
In signup function
username, email, and password need to validate (eg. min length and should not contain any spaces)
Refractor this validation code into the utils folder so that it can be used in other functions (eg. login())

@adarsh-shahi adarsh-shahi added the good first issue Good for newcomers label Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant