From d4fb7a1d1b1e3c5c7d40e920554786f01955f3f1 Mon Sep 17 00:00:00 2001 From: Colin Gross Date: Mon, 29 Feb 2016 16:00:26 -0500 Subject: [PATCH] Remove appending @umich.edu to contact form from field --- app/views/contact_form/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/contact_form/new.html.erb b/app/views/contact_form/new.html.erb index c5afe3ee..577d9ec3 100644 --- a/app/views/contact_form/new.html.erb +++ b/app/views/contact_form/new.html.erb @@ -5,7 +5,7 @@ <% if user_signed_in? %> <% nm = '' %> - <% em = current_user.name + "@umich.edu" %> + <% em = current_user.user_key %> <% else %> <% nm = '' %> <% em = '' %> @@ -41,4 +41,4 @@ <% end %> - \ No newline at end of file +