diff --git a/r2/r2/public/static/defaultapp.png b/r2/r2/public/static/defaultapp.png new file mode 100644 index 000000000..c9cacaeb0 Binary files /dev/null and b/r2/r2/public/static/defaultapp.png differ diff --git a/r2/r2/templates/oauth2authorization.html b/r2/r2/templates/oauth2authorization.html index 35de75324..89ef70212 100644 --- a/r2/r2/templates/oauth2authorization.html +++ b/r2/r2/templates/oauth2authorization.html @@ -24,11 +24,16 @@ from r2.lib.template_helpers import static, s3_https_if_secure %> <%namespace file="utils.html" import="_md" /> +<% + if thing.client.icon_url: + icon = s3_https_if_secure(thing.client.icon_url) + else: + icon = static("defaultapp.png") +%>