ensure that there's a session before redirecting the user

darcs-hash:20080724231833-84dde-965c41484ecf9b85b1979e8ac76314a6b0d951ee.gz
This commit is contained in:
Evan Prodromou 2008-07-24 19:18:33 -04:00
parent 60ba63b04e
commit 3a262a3bcd

View File

@ -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