aboutsummaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-30 14:19:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-30 14:19:26 -0400
commitef6cd4fe3a5bf0163ae3e50ac6248dc11d8a7bcf (patch)
tree90289938fa140a093f820725efa7d140ac16d184 /Assistant
parent36e8c675c9073e8bee1856c7150a129e6a61215c (diff)
max authtoken length is 128
It was stopping at 128, so the 512 was only incorrect, it didn't change behavior.
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/WebApp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs
index 576feb5f0..a5cd38504 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