mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Don't prefill user email in share link form.
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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")}
|
||||
|
||||
Reference in New Issue
Block a user