Opened 6 years ago

Closed 6 years ago

#1968 closed bug (fixed)

Registration allows 13 years old, search only 18.

Reported by: mikael Owned by: sitatara
Priority: trivial Milestone: 2.0
Component: BW Search Keywords: age, register, search


When registering new account, I can choose year 2000. When I'm using advanced profile search, minimum age I'm able to select is 18.

I don't know what's our official age restriction, or is there any?

Change History (8)

comment:1 Changed 6 years ago by sitatara

Offical minimum age for registration is 18 So this should be fixed for regstration.

comment:2 Changed 6 years ago by sitatara

It is not really possible to sign up as 13 year old.

While the drop-down list for your date of birth (DOB) at signup shows the year 2000, it creates an error message: "You must be at least 18 years old to subscribe." Would be better not to have invalid years at all in the drop-down list.

However, it is possible to create an account with a wrong DOB (over 18) and then change it afterwards to the correct one (under 18, down to 13) and I think we should remove that possibility as well (since we do not allow such accounts). It doesn't make sense to have that possibility.

comment:3 Changed 6 years ago by sitatara

  • Milestone changed from unassigned to 2.0
  • Owner set to sitatara
  • Status changed from new to assigned

Since signup is not allowed for under 18 year old and choosing the year 2000 leads to an error message, I suggest to limit the list of years to choose from to those which make sense.

Btw, I tried to change my DOB to a date in 2000 in the "edit my profile" section and that doesn't work either. It allows to change the year of birth to 1996 though, so it accepts members down to 16 years old. The error message for later dates is unspecific ("Please enter a valid birth date (format: YYYY-MM-DD)") which should be changed to reflect that the date isn't valid because the user is too young.

comment:4 Changed 6 years ago by sitatara

  • Status changed from assigned to to_alpha

DOB drop down on signup page now only shows years of valid DOBs. Date check on 'edit profile' page is now more restrictive - only allows dates where member is 18 or older. Error message for invalid dates separated from error message for other invalid entries:

Please note that the DoB check does not take leap years into account. Therefore someone who is, in fact, 17 years 11 months and 25 days old will be accepted. The "cut" is about 5-6 days before a person actually gets 18. I think this is rather unproblematic, therefore I did not bother to find a calculation that includes lap years).

Please test!

comment:5 Changed 6 years ago by shevek

  • Status changed from to_alpha to testing

Deployed to alpha.

comment:6 Changed 6 years ago by crumbking

While we are working on it I would introduce the same form elements (drop downs) as in the the registration. There was a ticket about that but can't find it anymore. Current edit profile version is not really user friendly ...

comment:7 Changed 6 years ago by sitatara

Here you go (introduced the drop down element for the DoB from the registration page):

Please test locally.

comment:8 Changed 6 years ago by crumbking

  • Resolution set to fixed
  • Status changed from testing to closed

Works. Very good improvement!

Note: See TracTickets for help on using tickets.