From ac0cb5c2cc2fdbb0b0632965ed241d59dfdc2223 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 30 Nov 2016 14:19:26 -0400 Subject: [PATCH] max authtoken length is 128 It was stopping at 128, so the 512 was only incorrect, it didn't change behavior. --- Assistant/Threads/WebApp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs index 576feb5f01..a5cd385046 100644 --- a/Assistant/Threads/WebApp.hs +++ b/Assistant/Threads/WebApp.hs @@ -76,7 +76,7 @@ webAppThread assistantdata urlrenderer noannex cannotrun postfirstrun listenhost #endif webapp <- WebApp <$> pure assistantdata - <*> genAuthToken 512 + <*> genAuthToken 128 <*> getreldir <*> pure staticRoutes <*> pure postfirstrun