diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 8bd7d5060..609aff54b 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -68,7 +68,7 @@
<%= render :partial => "common/discourse_javascript" %>
- <%= render :partial => "common/persona_javascript" if SiteSetting.enable_persona_logins %>
+ <%= render :partial => "common/persona_javascript" if !current_user && SiteSetting.enable_persona_logins %>
<%= render_google_analytics_code %>