summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-21 13:44:42 -0400
committerJoey Hess <joey@kitenet.net>2011-03-21 13:44:42 -0400
commite96ecf2f9317b0f7d547e86bcaf67b3aebecd8ea (patch)
treee2e49077ae0fc5cfd8c85217f10c99b5203439f2 /doc
parentb7786a78b508a6d1197387fe868680bc7a147f9f (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/postsignin_redirect_not_working.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/postsignin_redirect_not_working.mdwn b/doc/forum/postsignin_redirect_not_working.mdwn
index fdef56375..bc8855b7b 100644
--- a/doc/forum/postsignin_redirect_not_working.mdwn
+++ b/doc/forum/postsignin_redirect_not_working.mdwn
@@ -14,3 +14,17 @@ Then when it runs for postsignin its supposed to pull it out and send the user t
Full code is available on the plugin page: [[plugins/contrib/justlogin]].
I searched the site and there's very little info available for postsignin or redirect. Perhaps I'm using the wrong function?
+
+> I don't know why you end up on the prefs page. Have you tried
+> looking inside the session database to see what postsignin
+> parameter is stored?
+>
+> But, `cgi_postsignin()` assumes it can directly pass the postsignin cgi
+> parameter into `cgi()`. You're expecting it to redirect to an url, and it
+> just doesn't do that. Although I have considered adding a redirect
+> there, just so that openid login info doesn't appear in the url after
+> signin (which breaks eg, reload). That would likely still not make your
+> code work, since the value of postsignin is a url query string, not a
+> full url.
+>
+> I'd suggest you put a do=goto redirect into postsignin. --[[Joey]]