Subject: | auth_twitter_authenticate_url returns the authorisation URL |
auth_twitter_authenticate_url returns the authorisation URL. This means
that the user has to authorise the application every time they login.
The attached patch fixes this and brings it into line with
Catalyst::Authentication::Credential::Twitter.
Subject: | tw.patch |
--- /home/pjcj/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Dancer/Plugin/Auth/Twitter.pm.org 2011-01-17 10:53:24.000000000 +0100
+++ /home/pjcj/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Dancer/Plugin/Auth/Twitter.pm 2012-06-03 02:15:19.035694131 +0200
@@ -51,7 +51,7 @@
croak "auth_twitter_init must be called first";
}
- my $uri = twitter->get_authorization_url(
+ my $uri = twitter->get_authentication_url(
'callback' => $callback_url
);