Secure cookies
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user