--- a/gameServer/HWProtoNEState.hs Sun Aug 19 09:54:46 2018 -0400
+++ b/gameServer/HWProtoNEState.hs Tue Aug 21 02:14:15 2018 +0200
@@ -65,6 +65,7 @@
if clientProto cl < 48 && passwd == webPassword cl then
return $ JoinLobby : [AnswerClients [sendChan cl] ["ADMIN_ACCESS"] | isAdministrator cl]
else
+ -- String is parsed by frontend, do not localize!
return [ByeClient "Authentication failed"]
@@ -81,6 +82,7 @@
, JoinLobby
]
else
+ -- String is parsed by frontend, do not localize!
return [ByeClient "Authentication failed"]
where
h = B.pack . showDigest . sha1 . BL.fromChunks