Is my ghusl accepted

Is my ghusl acceptedCategory: GeneralIs my ghusl accepted
Aasif asked 5 years ago

I recently said my shahada again as I want to be a better Muslim. I also took a ghusl. I said my niyah and then washed my entire body, head to toe, with soap and then rinsed my body.
It was only after I got into bed that I read an article on how to take ghusl and then realized that I made my ghusl completely wrong. Is my ghusl still accepted?