JiayangYing / CITS3403_PRO

MIT License
2 stars 0 forks source link

Standardise Login and Signup Forms Using WTF Form Format #25

Closed loklokyx closed 6 months ago

loklokyx commented 6 months ago

Login Page Form:

  1. Convert the login page form to utilise the WTForms (WTF) format following Jinja2 standards.
  2. Use WTForms to define form fields for username/email and password input etc.
  3. Implement CSRF protection using WTForms to prevent cross-site request forgery attacks.

Signup Page Form:

  1. Standardise the signup page form using WTForms (WTF) format adhering to Jinja2 standards.
  2. Define form fields for username, email, password, and additional fields such as "confirm password" and "to become seller" checkbox.
  3. Ensure CSRF protection is implemented in the signup form using WTForms.

This implementation will ensure consistency and security across our login and signup forms by adopting the WTForms format and incorporating CSRF protection.

loklokyx commented 6 months ago

Closed #26