]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
bug
authorJoey Hess <joeyh@joeyh.name>
Sun, 7 Jan 2018 17:39:26 +0000 (13:39 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sun, 7 Jan 2018 17:39:26 +0000 (13:39 -0400)
doc/bugs/login_problem_redux.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/login_problem_redux.mdwn b/doc/bugs/login_problem_redux.mdwn
new file mode 100644 (file)
index 0000000..559782e
--- /dev/null
@@ -0,0 +1,12 @@
+Following up on [[login_problem]], there's still some problems mixing https
+and http logins on sites that allow both and don't redirect http to https.
+
+If the user logs in on https first, their cookie is https-only. If they
+then open the http site and do something that needs them logged in, it will
+try to log them in again. But, the https-only cookie is apparently not
+replaced by the http login cookie. The login will "succeed", but the cookie
+is inaccessible over https and so they'll not be really logged in.
+
+I think that the only fix for this is make the login page redirect from
+http to https, and for it to return to the https version of the page that
+prompted the login. --[[Joey]]