diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-11-17 13:18:12 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-11-17 13:18:12 -0600 |
| commit | d185ba84bf3dff26ed715ad6f318d26af0192fd5 (patch) | |
| tree | 37d629e9e027fb22c0649f632dd72dc0a9bf5ef1 /config/sql | |
| parent | c7f0a6f2e1e8131bcfd3052caa185973fb18a4fb (diff) | |
| download | invidious-d185ba84bf3dff26ed715ad6f318d26af0192fd5.tar.gz invidious-d185ba84bf3dff26ed715ad6f318d26af0192fd5.tar.bz2 invidious-d185ba84bf3dff26ed715ad6f318d26af0192fd5.zip | |
Remember nonce to prevent replay attacks
Diffstat (limited to 'config/sql')
| -rw-r--r-- | config/sql/nonces.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/sql/nonces.sql b/config/sql/nonces.sql new file mode 100644 index 00000000..5407dca5 --- /dev/null +++ b/config/sql/nonces.sql @@ -0,0 +1,13 @@ +-- Table: public.nonces + +-- DROP TABLE public.nonces; + +CREATE TABLE public.nonces +( + nonce text +) +WITH ( + OIDS=FALSE +); + +GRANT ALL ON TABLE public.nonces TO kemal;
\ No newline at end of file |
