diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 19:00:31 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 19:05:55 +0100 |
commit | 62ffebc89cc66d32a828ea1de8c850c3e950faa1 (patch) | |
tree | 35c457eb065d4ef1ec6f6cd072092a33b0b853d8 /perllib/FixMyStreet/App/Controller/Tokens.pm | |
parent | 9be7fa6404bb1acc34a07e665b8ba4675b5261db (diff) |
Sign in over login; tidy CSS.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Tokens.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Tokens.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Tokens.pm b/perllib/FixMyStreet/App/Controller/Tokens.pm index 111508e60..c9c9f3ab7 100644 --- a/perllib/FixMyStreet/App/Controller/Tokens.pm +++ b/perllib/FixMyStreet/App/Controller/Tokens.pm @@ -32,7 +32,7 @@ sub confirm_problem : Path('/P') { $c->forward( 'load_auth_token', [ $token_code, 'problem' ] ); # Load the problem - my $problem_id = $auth_token->data; + my $problem_id = $auth_token->data->{id}; my $problem = $c->cobrand->problems->find( { id => $problem_id } ) || $c->detach('token_error'); $c->stash->{problem} = $problem; |