[Bps-public-commit] jifty-plugin-authentication-twitter branch, master, updated. 91c03cd38eaa50c8ce129c7ebbc702f8fa459e7d
Shawn Moore
sartak at bestpractical.com
Thu Jun 10 15:46:41 EDT 2010
The branch, master has been updated
via 91c03cd38eaa50c8ce129c7ebbc702f8fa459e7d (commit)
via d8dece5c46a61b0461e12fff9a12b4eefb35265c (commit)
from 7833e9452d6cf3287be55110b6f358c206b5600c (commit)
Summary of changes:
.../Twitter/Action/LoginViaTwitter.pm | 2 +-
.../Plugin/Authentication/Twitter/Dispatcher.pm | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit d8dece5c46a61b0461e12fff9a12b4eefb35265c
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Jun 10 15:47:33 2010 -0400
Param name fix
diff --git a/lib/Jifty/Plugin/Authentication/Twitter/Action/LoginViaTwitter.pm b/lib/Jifty/Plugin/Authentication/Twitter/Action/LoginViaTwitter.pm
index 30817cd..1c25f21 100644
--- a/lib/Jifty/Plugin/Authentication/Twitter/Action/LoginViaTwitter.pm
+++ b/lib/Jifty/Plugin/Authentication/Twitter/Action/LoginViaTwitter.pm
@@ -21,7 +21,7 @@ use Jifty::Action schema {
param user_id =>
is mandatory;
- param screenname =>
+ param screen_name =>
is mandatory;
};
commit 91c03cd38eaa50c8ce129c7ebbc702f8fa459e7d
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Jun 10 15:47:36 2010 -0400
Run the login action
diff --git a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
index fed8f73..17f7930 100644
--- a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
+++ b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
@@ -98,7 +98,7 @@ on '/twitter/callback' => run {
my $response = Net::OAuth::AccessTokenResponse->from_post_body($res->content);
- Jifty->web->new_action(
+ my $login = Jifty->web->new_action(
class => 'LoginViaTwitter',
moniker => 'login_via_twitter',
arguments => {
@@ -108,6 +108,7 @@ on '/twitter/callback' => run {
screen_name => $response->extra_params->{screen_name},
},
);
+ $login->run;
};
1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list