Closed skrzepto closed 8 years ago
This might be needed for a new issue but ill type it here for now.
Also, another malicious event someone can do is, Let's say Bob malicously/accidently enters my information during registraction for example in the IRC section he enters 'skrzepto' instead of 'bob' then when I try to create a user in FAS3 I can't enter my nick because it was already taken.
Some possible ideas is to have a pending_confirmation table where this info is located and in the main people table its inserted as None until the information is confirmed and then is filled accordingly.
As most of users don't have an irc nickname. We have to make sure to insert None
. This should be easy to do by adding a default value to the form object located at fas.forms.people.py
hm..interesting. However, how can we prevent a user to use someone else nickname once validated? What we could do is either provide a rest method to look up the nickname dynamically (client-side) or do it when the user click save (server-side) and return an error message stating to change it.
@laxathom I was trying to write unit functional tests for the registration and can't seem to mockout the Captcha. Any thoughts?
Is there a setting I can turn off captcha or have it valid for all requests on a test instance?
I read up somewhere it to mock out the captcha form and set my own values in. This should be doable
Merged #175
Summary: When creating two accounts with the contact page blank like the image below shows.
The second account throws an error
Output
DB image of original data
Notice that the ircnick is an empty string and not None.
We either need to force the user to input data that is not blank or if blank data is detected then we must insert None into the db instead.