From 6a2a5f72fef53235c065020237d67ca94846b555 Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Thu, 26 May 2022 16:16:15 -0600 Subject: [PATCH] add todo about matrix bot --- src/Handler/Admin.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Handler/Admin.hs b/src/Handler/Admin.hs index 1d8030c..32646e9 100644 --- a/src/Handler/Admin.hs +++ b/src/Handler/Admin.hs @@ -104,6 +104,7 @@ postPkgUploadR = do renameDirectory dir targetPath maybeAuthId >>= \case Nothing -> do + -- TODO: Send this to Matrix $logError "The Impossible has happened, an unauthenticated user has managed to upload a pacakge to this registry" throwIO $ ErrorCall "Unauthenticated user has uploaded package to registry!!!"