--- a/Allura/allura/templates/user_preferences.html
+++ b/Allura/allura/templates/user_preferences.html
@@ -63,10 +63,12 @@
<br/>
<div style="clear:both"> </div>
<form action="update" method="post">
+ {% if tg.config.get('auth.method', 'local') == 'local' %}
<label class="grid-4">Display Name</label>
<div class="grid-18">
<input name="preferences.display_name" value="{{c.user.display_name}}" type="text">
</div>
+ {% endif %}
<label class="grid-4">Email Format</label>
<div class="grid-18">
<select name="preferences.email_format">