aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Auth.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-08-29 13:40:13 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-29 13:40:13 +0100
commit527ce8a87e68759346fc3e6981c05a3ca4cfe71c (patch)
tree9efb0bf626f606f35d19572739db400ff3609f12 /perllib/FixMyStreet/App/Controller/Auth.pm
parent02b61ee82cc046fe4446861397ac0592c5da08ed (diff)
parentc255f82085e85cfa520871b80fc70964da3d7015 (diff)
Merge branch 'dev-confirmation-pages'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Auth.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Auth.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Auth.pm b/perllib/FixMyStreet/App/Controller/Auth.pm
index 41674e377..9f948e0f9 100644
--- a/perllib/FixMyStreet/App/Controller/Auth.pm
+++ b/perllib/FixMyStreet/App/Controller/Auth.pm
@@ -54,11 +54,6 @@ sub general : Path : Args(0) {
}
-sub general_test : Path('_test_') : Args(0) {
- my ( $self, $c ) = @_;
- $c->stash->{template} = 'auth/token.html';
-}
-
sub authenticate : Private {
my ($self, $c, $type, $username, $password) = @_;
return 1 if $type eq 'email' && $c->authenticate({ email => $username, email_verified => 1, password => $password });