From be607c81596dbb5ea585fb565b7e09387776812e Mon Sep 17 00:00:00 2001 From: Gunnar Date: Sun, 19 Nov 2023 20:11:17 +0100 Subject: [PATCH] Quick fix for #8, use tiny png for token reporter For new setups this adds a tiny 10x10px png as avatar for token reporter. Token reporter should not need any avatar. --- interceptors/Stachebox.cfc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interceptors/Stachebox.cfc b/interceptors/Stachebox.cfc index 2cc196f..3799a9a 100644 --- a/interceptors/Stachebox.cfc +++ b/interceptors/Stachebox.cfc @@ -77,7 +77,7 @@ component{ "lastName" : "Reporter", "email" : reporterUsername, "password" : createUUID(), - "avatar" : "data:image/png;base64,#toBase64( fileReadBinary( logoFile ) )#", + "avatar" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII", "isAdministrator" : false, "allowLogin" : false } @@ -195,4 +195,4 @@ component{ getWirebox().autowire( migrationService ); migrationService.runAllMigrations( "up" ); } -} \ No newline at end of file +}