diff options
Diffstat (limited to 'perllib/FixMyStreet/App')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Auth.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/App/View/Email.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth.pm b/perllib/FixMyStreet/App/Controller/Auth.pm index 912119cd3..3d60172cf 100644 --- a/perllib/FixMyStreet/App/Controller/Auth.pm +++ b/perllib/FixMyStreet/App/Controller/Auth.pm @@ -104,7 +104,7 @@ sub email_login : Private { # log the user in, send them an email and redirect to the welcome page $c->stash->{token} = $token_obj->token; - $c->send_email( 'login', { to => $good_email } ); + $c->send_email( 'login.txt', { to => $good_email } ); $c->res->redirect( $c->uri_for('token') ); } diff --git a/perllib/FixMyStreet/App/View/Email.pm b/perllib/FixMyStreet/App/View/Email.pm index fa46623eb..86d5c1d60 100644 --- a/perllib/FixMyStreet/App/View/Email.pm +++ b/perllib/FixMyStreet/App/View/Email.pm @@ -8,7 +8,7 @@ use mySociety::Locale; use FixMyStreet; __PACKAGE__->config( - TEMPLATE_EXTENSION => '.html', + TEMPLATE_EXTENSION => '.txt', INCLUDE_PATH => [ # FixMyStreet->path_to( 'templates', 'email', 'default' ), ], |