• tool@r.rosettast0ned.com
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Throw in a mysterious comment that says “Don’t change anything below this line or everything breaks” and it’s complete.

    “We don’t know why this works, but it does, don’t touch it.” would also be acceptable.

    • rwhitisissle@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      “The server mangles the authentication token after receiving it for reasons we don’t really understand, so this function just checks to see that it’s set in the request, but nothing actually cares if it’s valid. DO NOT RETURN USER ACCOUNT DATA HERE AND YES THAT MEANS YOU MARCUS”