summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/PAUSE/OpenID/Controller/Root.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PAUSE/OpenID/Controller/Root.pm b/lib/PAUSE/OpenID/Controller/Root.pm
index b3f2f4c..566a0a1 100644
--- a/lib/PAUSE/OpenID/Controller/Root.pm
+++ b/lib/PAUSE/OpenID/Controller/Root.pm
@@ -31,7 +31,7 @@ PAUSE::OpenID::Controller::Root - Root Controller for PAUSE::OpenID
sub index :Path :Args(0) {
my ( $self, $c ) = @_;
- if ( not $c->req->param('openid.return_url') ) {
+ if ( not defined $c->req->param('openid.return_to') ) {
#$c->flash->{xml} = '<document><error_message>Missing parameter</error_message></document>';
$c->res->redirect($c->uri_for('/error'));
}