From 0b1e833447305943b56c247009d6b94b8a739178 Mon Sep 17 00:00:00 2001 From: aaronmueller Date: Sun, 6 Sep 2009 20:14:54 +0200 Subject: [PATCH] ldap user can't change name and email --- app/views/my/account.rhtml | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 9bf45b3..895354d 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -12,9 +12,11 @@

<%=l(:label_information_plural)%>

+<% if @user.auth_source.nil? %>

<%= f.text_field :firstname, :required => true %>

<%= f.text_field :lastname, :required => true %>

<%= f.text_field :mail, :required => true %>

+<% end %>

<%= f.select :language, lang_options_for_select %>

<% if Setting.openid? %>

<%= f.text_field :identity_url %>

-- 1.5.6.5