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

email == "" #25

Open
cbarraford opened this issue Aug 19, 2015 · 1 comment
Open

email == "" #25

cbarraford opened this issue Aug 19, 2015 · 1 comment

Comments

@cbarraford
Copy link

If the email is equal to an empty string or is not a valid email address, we get no avatar back. Is that the expected behavior? Should we use the default image if the email address is invalid???

@lavinjj
Copy link
Owner

lavinjj commented Aug 19, 2015

We are relying on Gravatar to return a default avatar image if the email address is not valid or the string is empty. If you check the gravatar api, we specify a default image if none is found. However, if you wanted to use one of your own instead. You could easily make a change to inject an image url if nothing comes back.

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

No branches or pull requests

2 participants