Don't prefill user email in share link form.

This commit is contained in:
bsimpson63
2013-06-11 10:26:24 -04:00
parent 22711f6688
commit 99fb82d15b
2 changed files with 1 additions and 3 deletions

View File

@@ -2273,7 +2273,6 @@ class NewLink(Templated):
class ShareLink(CachedTemplate):
def __init__(self, link_name = "", emails = None):
self.captcha = c.user.needs_captcha()
self.email = getattr(c.user, 'email', "")
self.username = c.user.name
Templated.__init__(self, link_name = link_name,
emails = c.user.recent_share_emails())

View File

@@ -82,8 +82,7 @@
</th>
<td>
<input name="replyto" type="text" size="30"
id="replyto_${thing.link_name}"
value="${thing.email}"/>
id="replyto_${thing.link_name}"/>
</td>
<td class="reply-to-errors">
${error_field("BAD_EMAILS", "replyto")}