forked from midou/invidious
		
	Remember nonce to prevent replay attacks
This commit is contained in:
		
							
								
								
									
										13
									
								
								config/sql/nonces.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								config/sql/nonces.sql
									
									
									
									
									
										Normal file
									
								
							| @@ -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; | ||||
		Reference in New Issue
	
	Block a user