[Bps-public-commit] jifty-plugin-authentication-twitter branch, master, updated. 8854bfdbc8aad34516db04ded57c72a5a0534e77

Shawn Moore sartak at bestpractical.com
Thu Jun 10 17:01:29 EDT 2010


The branch, master has been updated
       via  8854bfdbc8aad34516db04ded57c72a5a0534e77 (commit)
      from  071b49c3ad345b60b381772e49a4d59af7b90903 (commit)

Summary of changes:
 .../Plugin/Authentication/Twitter/Dispatcher.pm    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 8854bfdbc8aad34516db04ded57c72a5a0534e77
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Jun 10 17:02:11 2010 -0400

    Redirect to / after logi as a stopgap over serving a 404

diff --git a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
index 72f4fb9..d789148 100644
--- a/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
+++ b/lib/Jifty/Plugin/Authentication/Twitter/Dispatcher.pm
@@ -131,6 +131,7 @@ on '/twitter/callback' => run {
         Jifty->web->current_user($current_user);
         Jifty->web->session->expires( undef );
         Jifty->web->session->set_cookie;
+        redirect '/';
     }
 };
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list