op what light are you using? lights need to be placed a certain range depending on technology. since your problem was caused by misplacement of your light, we need to know what you're using so we can instruct you on fixing it.
also, bragging to new users and not learning when wrong should be red flags someone doesn't know what theyre talking about. there's no requirement to post a lot here or to post pictures of any harvest. anyone who can't tell this is stretched seedlings is not past the beginning stages of learning gardening in general(and make no mistake, growing cannabis is gardening/farming like growing any other agricultural crop) or didn't even look at your picture because it clearly demonstrates a very, very obvious problem any moderately experienced grower or even home gardener should recognize. let us know what light you're using and this will be fixed in no time. use the twist ties holding them up to stake them to a pencil or kebab skewer. don't force it to go straight or you may crack the skin. if you do, tape it and it will be fine. these plants may stay a little crooked forever if they've hardened a little. plants can start horizontal from this and grow fine, bent, but fine. easy to fix, very obvious problem.