add and use cgiurl_abs_samescheme
authorJoey Hess <joeyh@joeyh.name>
Fri, 5 Jan 2018 15:40:18 +0000 (11:40 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 5 Jan 2018 15:59:35 +0000 (11:59 -0400)
commita79ab9ed186112056d7f60e41e8d0760c2cc13f5
treecd0bb678038afd22e54b875dd19e13405a5719a5
parent71064e3af6638616659ed1319ec78f9692ba9fde
add and use cgiurl_abs_samescheme

 * emailauth: Fix cookie problem when user is on https and the cgiurl
   uses http, by making the emailed login link use https.
 * passwordauth: Use https for emailed password reset link when user
   is on https.

Not entirely happy with this approach, but I don't currently see a
better one.

I have not verified that the passwordauth change fixes any problem,
other than the user getting a http link when they were using https.
The emailauth problem is verified fixed by this commit.

This commit was sponsored by Michael Magin.
IkiWiki.pm
IkiWiki/Plugin/emailauth.pm
IkiWiki/Plugin/passwordauth.pm
debian/changelog
doc/bugs/login_problem.mdwn