Not quite true. They just need you to be evaluated where you've been off medication for at least 90 days. But if you're on Adderall, you're shit out of luck. Which is pretty dumb since the medication resolves issues.
Other dumb things that will/can prevent you from getting your license: AIDS, diabetes, obesity (BMI >35), anemia, depression, gender dysphoria (they more recently updated for trans, but hormones or surgery can make it difficult), color blindness (not that impactful these days, and there are many types of color blindnesses), and many more.
Side note: I was working on my pilot's license before I went to grad school. No problems, despite a history of depression too. In grad school I got diagnosed and Adderall really made a big difference (even helping with my depression). So gotta make the choice of being able to fly or being able to do productive work which I'm passionate about. Private pilots are a dying breed, and the FAA is only doing things to accelerate this.
https://pilot-protection-services.aopa.org/news/2015/septemb...