summaryrefslogtreecommitdiffstats
path: root/config/sql
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-11-19 18:41:11 -0600
committerOmar Roth <omarroth@hotmail.com>2018-11-19 18:41:11 -0600
commitad20d6359bc22fdd4de75e4eed76c7510c3c119f (patch)
treead8f86db9ad6d49d9650d6484c84b94231962167 /config/sql
parentb535de690e494aeb38ecb9db57ee173dd896bdb2 (diff)
downloadinvidious-ad20d6359bc22fdd4de75e4eed76c7510c3c119f.tar.gz
invidious-ad20d6359bc22fdd4de75e4eed76c7510c3c119f.tar.bz2
invidious-ad20d6359bc22fdd4de75e4eed76c7510c3c119f.zip
Add 'expire' to filter invalid tokens
Diffstat (limited to 'config/sql')
-rw-r--r--config/sql/nonces.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/sql/nonces.sql b/config/sql/nonces.sql
index 5407dca5..9693b936 100644
--- a/config/sql/nonces.sql
+++ b/config/sql/nonces.sql
@@ -4,7 +4,8 @@
CREATE TABLE public.nonces
(
- nonce text
+ nonce text,
+ expire timestamp with time zone,
)
WITH (
OIDS=FALSE