alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agoAlways follow 3-2-1 backup rulesh.itjust.worksimagemessage-square43fedilinkarrow-up1535arrow-down116
arrow-up1519arrow-down1imageAlways follow 3-2-1 backup rulesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square43fedilink
minus-squareprof@infosec.publinkfedilinkarrow-up4·6 months agoYeah, I had a similar case with some authentication middleware I used that was part of a library. It would always throw an exception when a user wasn’t authenticated instead of just giving me some flag I could check. Wouldn’t have done it that way, but it was okay for an API controller.
Yeah, I had a similar case with some authentication middleware I used that was part of a library.
It would always throw an exception when a user wasn’t authenticated instead of just giving me some flag I could check.
Wouldn’t have done it that way, but it was okay for an API controller.