Skip to content

Email Validation #26

@sabrinaira

Description

@sabrinaira

Description

There doesn't seem to be a feature or security measure implemented if the e-mail address upon signing up for a new account at GuardQL's official website is a valid email address.

Reproduction

Step-By-Step Instructions to Reproduce:

  1. Head over to GuardQL's Homepage
  2. Click Get Started to take you to Login page
  3. Click on Sign Up below the login field.
  4. Input all the required fields, including email address.
  5. Click on Create Account button.
  6. There will be a pop up that will tell you that the account is created.

What is expected:

If the email address is not valid or does not exist, there should be an alert or log that will tell the end-user the case, preventing them from registering for an account at the platform.

What actually happened:

The end-user in this version will still be granted access to the dashboard and other account benefits, regardless of whether the email address field is typed invalidly.

System information

System:
OS: macOS 15.2
CPU: (8) arm64 Apple M2
Memory: 159.56 MB / 8.00 GB
Shell: 5.9 - /bin/zsh

Binaries:
Node: 23.7.0 - /opt/homebrew/bin/node
npm: 10.9.2 - /opt/homebrew/bin/npm

Browsers:
Chrome: 133.0.6943.98
Edge: 133.0.3065.69
Safari: 18.2

npmPackages:
@apollo/client: ^3.12.8 => 3.12.9
@apollo/server: ^4.11.3 => 4.11.3
apollo-server-express: ^3.13.0 => 3.13.0
bcrypt: ^5.1.1 => 5.1.1
cookie-parser: ^1.4.7 => 1.4.7
cors: ^2.8.5 => 2.8.5
crypto: ^1.0.1 => 1.0.1
dotenv: ^16.4.7 => 16.4.7
dotenv-webpack: ^8.1.0 => 8.1.0
express: ^4.21.2 => 4.21.2
graphql: ^16.10.0 => 16.10.0
graphql-tag: ^2.12.6 => 2.12.6
identity-obj-proxy: ^3.0.0 => 3.0.0
jsonwebtoken: ^9.0.2 => 9.0.2
jwt-decode: ^4.0.0 => 4.0.0
react: ^19.0.0 => 19.0.0
react-dom: ^19.0.0 => 19.0.0
react-hook-form: ^7.54.2 => 7.54.2
react-icons: ^5.4.0 => 5.4.0
react-router-dom: ^7.1.3 => 7.1.3
react-scroll: ^1.9.2 => 1.9.2
tsx: ^4.19.2 => 4.19.2
typescript: ^5.7.3 => 5.7.3

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd love to make a PR to fix this bug!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions