cal.pub0.org/pages/settings
Omar López dd9f801872
cal 485 prevent users from changing their username to premium ones (#799)
* Makes userRequired middleware

* Prevent users from changing usernames to premium ones

* refactor on zomars' branch (#801)

* rename `profile` -> `mutation`

* `createProtectedRouter()` helper

* move profile mutation to `viewer.`

* simplify checkUsername

* Auto scrolls to error when there is one

* Renames username helpers

* Follows db convention

Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-09-28 09:57:30 +01:00
..
billing.tsx Fixes customer portal return url (#802) 2021-09-28 09:04:30 +01:00
embed.tsx CAL-473 Fixes client-side routing for authed pages (#763) 2021-09-24 11:16:46 +01:00
profile.tsx cal 485 prevent users from changing their username to premium ones (#799) 2021-09-28 09:57:30 +01:00
security.tsx CAL-473 Fixes client-side routing for authed pages (#763) 2021-09-24 11:16:46 +01:00
teams.tsx added Cal Sans (#709) 2021-09-22 21:23:19 +00:00