steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
https://precedent.dev
MIT License
4.65k stars 406 forks source link

Using user's name value in profile avatar instead of email value #63

Open rezahedi opened 11 months ago

rezahedi commented 11 months ago

I noticed using user's email address in dicebear.com URL to create a random avatar profile, It's better to not share user's email with third-parties like Dicebear, so I changed 'email' with 'name'.

vercel[bot] commented 11 months ago

@rezahedi is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

steven-tey commented 8 months ago

Problem is folks can change their name (but rarely their email)

Maybe a better approach is using user ID instead? 👀