MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/10y361u/terrible_authentication_code/j7y6hc2/?context=3
r/badcode • u/cosmicskylight • Feb 09 '23
67 comments sorted by
View all comments
Show parent comment
8
What clearly is happening here is they have multiple places where callback could be called multiple times. So this prevents callback from being invoked twice.
View all comments
Show parent comment
8
u/paulsmithkc 👨🏫 Feb 10 '23
What clearly is happening here is they have multiple places where callback could be called multiple times. So this prevents callback from being invoked twice.