One more auth system that will give you nightmares...
This JavaScript code powers a 1,500 user intranet application.
The longer you look at it the more insane it gets.
@LoganDice OMFG! Then, one day, someone feeds the loop to console.log and gets life for “hacking” because “cyber crime”.