From: Evan Prodromou Date: Thu, 24 Jul 2008 23:18:33 +0000 (-0400) Subject: ensure that there's a session before redirecting the user X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a262a3bcd0c794f12d97b28be33b1c262063718;p=quix0rs-gnu-social.git ensure that there's a session before redirecting the user darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz --- diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index cb672e868c..d1baa4152f 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