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

8.2 Admin: have validated data to ensure reliability #42

Open
christine-zheng opened this issue Nov 8, 2022 · 0 comments
Open

8.2 Admin: have validated data to ensure reliability #42

christine-zheng opened this issue Nov 8, 2022 · 0 comments
Assignees

Comments

@christine-zheng
Copy link
Contributor

christine-zheng commented Nov 8, 2022

( Parent ticket: #41 )

  • i.e. each customer that creates an account should only be able to do so once with a single email address.

Have form validation for user login/sign-up

There is also database-level validation on User Model:
User Model for database:
username: not null, not empty and unique,
password: not null and not empty
email: make sure it is unique
userType: ENUM (customer, admin)

@christine-zheng christine-zheng changed the title 8.1 Admin: have validated data to ensure reliability 8.2 Admin: have validated data to ensure reliability Nov 10, 2022
@alliebug alliebug assigned alliebug and unassigned christine-zheng Nov 10, 2022
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

No branches or pull requests

2 participants