JithinKS97 / dynamic-learning

A platform where teachers collaborate with creative coders to make STEM lessons that make use of interactive visualisations
https://dynamic-learning.herokuapp.com/
GNU Lesser General Public License v2.1
31 stars 23 forks source link

Avoid duplicate users #73

Closed annu12340 closed 4 years ago

annu12340 commented 4 years ago

Currently, the program allows multiple duplicate users with the same username and email id. A filtering system must be built to avoid redundancy of users

JithinKS97 commented 4 years ago

Thanks @annu12340 for opening the issue. If you can take up the issue yourself, I'm more than happy to help you.

The signup takes place in the SignUp Component found here https://github.com/JithinKS97/dynamic-learning/blob/master/imports/ui/pages/Signup.jsx

Prior to signing up, you should call a server side function which will check if among the currently registered users, the input email ID is already present, then allow the user to signup or show the error message accordingly.

annu12340 commented 4 years ago

I would give it a try to solve this issue

JithinKS97 commented 4 years ago

@vishnumj10 Are we good to close this issue?

vishnumj10 commented 4 years ago

@JithinKS97 Yes