Reserved Usernames Hold on Every Sign-Up Path
Accounts whose username is filled in for you — Google sign-in, or registering without choosing one — can no longer end up named docs or dashboard, which made their own projects unreachable.
#What's Changed
- [Fix] Usernames generated for you — from your email when you sign in with Google, or from your name or email when you register without picking one — are now checked against the reserved list, as a chosen username already was. Only uniqueness was checked before, so docs@yourcompany.com could become the user “docs”. Every project URL for that account, including the Personal project created at sign-up, would then be answered by the documentation pages instead, leaving the workspace unreachable in the browser.
- [Fix] Generated usernames now follow the same rules as a chosen one: 3–30 characters, lowercase letters and digits joined by single hyphens or underscores. Long names previously ran past the 30-character limit, and punctuation such as “john..smith” produced usernames that those rules reject.
- [Improvement] A test now fails if a top-level page is added without reserving its name as a username, so the reserved list can no longer quietly fall behind the site's routes.