Closed 0x41c closed 10 months ago
So after finding some errors show up, I did a little digging. How come we're unauthenticated at this point? https://github.com/FOGProject/fogproject/blob/3ed1818465eb59f12b0602e1605218847935e07a/packages/web/lib/fog/storagenode.class.php#L225-L236
The reason I ask this is because it seems like the getfiles endpoint is returning nothing here. This effects logtoview behaviour since it's unable to get log files.
I've also added fixes for the possibility of $currentUser being null when checking for authentication status on certain endpoints. I meant to make a new branch for those changes so that they could be merged separately, but the quicker it gets fixed, the less time there is for people to have these issues show up in prod.