From 450ee47f68caa8725e8866c879d9fabd3529c1a8 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 11 Sep 2015 12:51:11 +0100 Subject: Add way to see "Please check your email" pages. This makes testing easier. --- perllib/FixMyStreet/App/Controller/Auth.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perllib/FixMyStreet/App/Controller/Auth.pm') diff --git a/perllib/FixMyStreet/App/Controller/Auth.pm b/perllib/FixMyStreet/App/Controller/Auth.pm index 63bf91ff5..53ef13462 100644 --- a/perllib/FixMyStreet/App/Controller/Auth.pm +++ b/perllib/FixMyStreet/App/Controller/Auth.pm @@ -46,6 +46,11 @@ sub general : Path : Args(0) { } +sub general_test : Path('_test_') : Args(0) { + my ( $self, $c ) = @_; + $c->stash->{template} = 'auth/token.html'; +} + =head2 sign_in Allow the user to sign in with a username and a password. -- cgit v1.2.3