zeripath 
		9d855bd6a1 
		
			
		
	 
	
	
	Simplify Gothic to use our session store instead of creating a different store ( #17507 ) ... 
			* Simplify Gothic to use our session store instead of creating a different store
We have been using xormstore to provide a separate session store for our OAuth2 logins
however, this relies on using gorilla context and some doubling of our session storing.
We can however, simplify and simply use our own chi-based session store. Thus removing
a cookie and some of the weirdness with missing contexts.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per review
Signed-off-by: Andrew Thornton <art27@cantab.net>
* as per review
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Handle MaxTokenLength
Signed-off-by: Andrew Thornton <art27@cantab.net>
* oops
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv> 
		
	 
		2021-11-03 08:33:54 +08:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-04-05 17:38:31 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-15 15:27:33 -04:00 
		 
	
		
			
			
			
			
			
			2019-03-27 19:15:23 +08:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2020-05-10 15:50:16 +03:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-23 18:07:40 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-03-16 00:27:28 +02:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2020-07-01 00:34:03 +03:00 
		 
	
		
			
			
			
			
			
			2019-03-27 19:15:23 +08:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-10 21:28:32 +00:00 
		 
	
		
			
			
			
			
			
			2021-06-21 01:00:46 +03:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2020-06-05 16:47:39 -04:00 
		 
	
		
			
			
			
			
			
			2020-02-03 21:50:37 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2018-11-27 16:52:20 -05:00 
		 
	
		
			
			
			
			
			
			2021-01-17 20:21:14 -05:00 
		 
	
		
			
			
			
			
			
			2021-01-28 17:56:38 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-01 10:01:23 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-28 13:05:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-10-13 22:50:23 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-30 22:58:45 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2019-09-04 22:53:54 +03:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2019-09-09 08:48:21 +03:00 
		 
	
		
			
			
			
			
			
			2021-08-13 01:11:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-21 20:33:58 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-03 14:32:01 -04:00 
		 
	
		
			
			
			
			
			
			2019-10-02 02:32:12 +02:00 
		 
	
		
			
			
			
			
			
			2021-10-26 08:19:21 +01:00 
		 
	
		
			
			
			
			
			
			2021-11-03 08:33:54 +08:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2020-11-06 13:41:42 -05:00 
		 
	
		
			
			
			
			
			
			2018-11-27 16:52:20 -05:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-06 13:41:42 -05:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2020-02-11 20:58:23 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-23 18:07:40 -04:00 
		 
	
		
			
			
			
			
			
			2021-01-28 17:56:38 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-03 08:04:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-05 21:11:08 -04:00 
		 
	
		
			
			
			
			
			
			2021-08-13 01:11:42 +02:00 
		 
	
		
			
			
			
			
			
			2019-03-27 19:15:23 +08:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-10-20 16:58:39 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-28 17:56:38 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-18 12:23:45 +08:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2020-05-10 06:40:54 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2020-09-06 20:53:33 +01:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2020-10-16 01:06:27 -04:00 
		 
	
		
			
			
			
			
			
			2021-01-26 16:36:53 +01:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2019-05-25 14:46:14 +03:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2020-04-03 22:29:12 +03:00 
		 
	
		
			
			
			
			
			
			2017-12-11 10:23:34 +08:00 
		 
	
		
			
			
			
			
			
			2021-01-28 17:56:38 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-07 15:41:05 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2019-11-23 01:33:31 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-28 17:56:38 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-07 15:41:05 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-22 20:08:53 -04:00 
		 
	
		
			
			
			
			
			
			2020-11-06 13:41:42 -05:00 
		 
	
		
			
			
			
			
			
			2020-05-10 06:40:54 +01:00 
		 
	
		
			
			
			
			
			
			2021-01-17 20:21:14 -05:00 
		 
	
		
			
			
			
			
			
			2020-09-01 10:01:23 -04:00 
		 
	
		
			
			
			
			
			
			2019-08-23 12:40:29 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-29 09:20:01 +03:00 
		 
	
		
			
			
			
			
			
			2019-03-27 19:15:23 +08:00 
		 
	
		
			
			
			
			
			
			2021-02-28 18:08:33 -05:00 
		 
	
		
			
			
			
			
			
			2021-03-21 16:11:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-10 16:44:25 +02:00 
		 
	
		
			
			
			
			
			
			2020-11-06 13:41:42 -05:00 
		 
	
		
			
			
			
			
			
			2021-07-04 04:06:10 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-05 16:47:39 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-10 09:53:04 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-07 15:41:05 -04:00