mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 12:22:23 +03:00
8f6d442a04
Backport #26999
If the AppURL(ROOT_URL) is an HTTPS URL, then the COOKIE_SECURE's
default value should be true.
And, if a user visits an "http" site with "https" AppURL, they won't be
able to login, and they should have been warned. The only problem is
that the "language" can't be set either in such case, while I think it
is not a serious problem, and it could be fixed easily if needed.
(cherry picked from commit
|
||
---|---|---|
.. | ||
app.example.ini |