Secure cookies

This commit is contained in:
2020-07-18 20:41:42 +02:00
parent cdfe1d14ef
commit 9216696b1a
6 changed files with 34 additions and 8 deletions
+3
View File
@@ -19,3 +19,6 @@ jwt:
secret: ${JWT_REFRESH_SECRET=-wWchkx44YGig4Q5Z7b7+E/3ymGEGd6PS7UGedMul3bg=} # Can be generated with `openssl rand -base64 32`
validity: 15
unit: DAYS
cookies:
secure: ${SECURE_COOKIES:-false}
+4 -3
View File
@@ -1,4 +1,6 @@
{% set title = "Notes" %} {% extends "__base__.html" %} {% block content %}
{% set title = "Notes" %}
{% extends "__base__.html" %}
{% block content %}
<div class="container mx-auto">
<h1 class="text-2xl">{{ method }}</h1>
@@ -24,8 +26,7 @@
title: ''
---
{% endif -%}</textarea
>
{% endif -%}</textarea>
<div class="mt-2">
<button