Admin account locked out/redirect loop. Other accounts work?

Actually figured out what was wrong.

Somehow my user permission was none. Then I change it to admin, still no luck…then realise it didn’t change because there was no “nickname” set.

So basically just logged into another admin account and gave my account admin status.

Would love to know what caused it though.