diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index b5258ae79..e7eab09b8 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -301,15 +301,7 @@ sub send_confirmation_email : Private { $c->stash->{token_url} = $c->uri_for_email( '/A', $token->token ); - my $sender = mySociety::Config::get('CONTACT_EMAIL'); - - $c->send_email( - 'alert-confirm.txt', - { - to => $c->stash->{alert}->user->email, - from => $sender - } - ); + $c->send_email( 'alert-confirm.txt', { to => $c->stash->{alert}->user->email } ); $c->stash->{template} = 'email_sent.html'; } |