You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This was filled in with the date of birth for the current user (from the dob column sys_user table)
With Raspberry Pi Accounts, we don't store the DOB anymore, so this field was hidden and it defaults to Unix epoch 0 (1970...) which causes issues for people verifying dojo's.
We will replace the hidden DOB field with a 'How old are you?' select dropdown similar to the Pi Accounts image below. This will have the ages 13-17, then an '18 or over' option.
The show / hide of the field should be changed - e.g. getAge to use the value from the select box - if the user is not '18 or over', we will show the other fields.
We will add 'When is your birthday' fields to the show/hide section. This will be like the fields in the Pi Accounts picture below. With the 'How old are you?' value, we will create a DOB correctly formatted for under 18 users (allowing us to determine when they reach 18)
Ensure that the DOB and parent details are stored in the 'application' JSON field of the cd_dojoleads table|
Check if we need to store the dob in the sys_user table (it may still happen anyway)