diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html
index 5b6923ce567..dd24d63f0ef 100644
--- a/ckan/templates/user/read.html
+++ b/ckan/templates/user/read.html
@@ -107,7 +107,7 @@
{{ user.fullname or _('No full name provided') }}
{{ _('Member Since') }}
{{ h.render_datetime(user.created) }}
- {% if c.is_myself %}
+ {% if c.is_myself and (not g.authorized_users_only or user.authorized) %}
- {{ _('API Key') }} {{ _('Private') }}
{{ user.apikey }}