Caracal icon indicating copy to clipboard operation
Caracal copied to clipboard

Misleading error message which can cause trouble in debugging

Open YashKumarVerma opened this issue 4 years ago • 2 comments

https://github.com/camicroscope/Caracal/blob/91fec6d581a2e54e85faeb053511c2df55b49053/handlers/authHandlers.js#L31-L61

The code block on line 40 and 56 are triggered when DISABLE_SEC || ENABLE_SECURITY_AT && Date.parse(ENABLE_SECURITY_AT) > Date.now() turns false. This has no relation to the files being present or not, whereas the block logs out a message saying XXX does not exist

YashKumarVerma avatar Jul 02 '21 21:07 YashKumarVerma

it seems that the purpose of this error message is to alert the user that the file is missing and cannot be used for authentication.

VishalMyla avatar Mar 26 '23 13:03 VishalMyla

hey is the issue still there? can i work on it?

tanii1125 avatar Nov 10 '25 19:11 tanii1125