diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-24 19:18:33 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-24 19:18:33 -0400 |
commit | 3a262a3bcd0c794f12d97b28be33b1c262063718 (patch) | |
tree | b41f406ced5065b4fe83bf4cefd0600426699acd /actions | |
parent | 60ba63b04e5a7459d4bd4d0475e2947a0ed3dbaf (diff) |
ensure that there's a session before redirecting the user
darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/remotesubscribe.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index cb672e868..d1baa4152 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -339,6 +339,8 @@ class RemotesubscribeAction extends Action { $omb['post_notice_url'] = omb_service_uri($omb[OMB_ENDPOINT_POSTNOTICE]); $omb['update_profile_url'] = omb_service_uri($omb[OMB_ENDPOINT_UPDATEPROFILE]); + common_ensure_session(); + $_SESSION['oauth_authorization_request'] = $omb; # Redirect to authorization service |