Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use email as displayname for new users that are lacking first and last name #333

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

henrikskog
Copy link
Contributor

@henrikskog henrikskog commented Mar 11, 2024

I hope email is getting set on sign up? When you sign up as a new user on OW thorugh auth0 now, first and last name are not gathered, and you can't even set it manually in auth0 dashboard afaik.

It is much better to show the email for now until the first name and last name are gathered. Right now it is useless to use with new users.

This PR uses email if last_name and first_name are not set.

NB:

"" is falsy in javascript, so the check is fine.

image

@henrikskog henrikskog changed the title show email for new users as first and last name are not gathered Use email as displayname for new users that are lacking first and last name Mar 11, 2024
@jotjern jotjern merged commit 8eed3dd into main Mar 11, 2024
@jotjern jotjern deleted the display-name-problem branch March 11, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants