[Self-hosted] Users without a date of birth is treated as children

(#815) Bug Fixed self-hosting

Observed behaviour

Users that does not have a date of birth set on their account is treated as a child and therefor does not have access to mature content

Reproduction steps

  1. Turn off "Collect date of birth during registration"
  2. Create an account
  3. Try to access any NSFW content

Build information

Stable Web 2026.904.231615, Linux (x64), Firefox 154.0, Locale en-US

Platform

Self-hosting

2 comments

Sign in with Fluxer to comment and vote.
Comment by @MrRubberDucky
RexSystem 1 vote edited originally by @MrRubberDucky on GitHub
Related to #675 (I've mentioned it in comments in that issue so leaving this comment just for reference purposes)