SamuZai
thrivegame
thrivegame

patreon


Improvements to ThriveDevCenter account status syncing

After one patron notified me that they had not gotten their DevBuild benefits back immediately after becoming a patron again, I started looking into that as it should be very fast. Turns out I hadn't considered the situation where you use the same SSO login method that caused your account to be suspended to login again. Now I added a bunch of tests (which took a while as I haven't been adding as many tests to the DevCenter code as I probably should) and modified the functionality to make sure that if you become a patron again logging in with Patreon to the ThriveDevCenter should now immediately unsuspend your account.

While doing that I also noticed another a bit of a flaw: users who were patrons, but lowered their pledge level, weren't being suspended. I've now also corrected that and added a bunch of tests for all combinations so for checking Patreon declined status, pledge level and ThriveDevCenter account suspension status. So people should now always have the access they should. This change automatically caused a few accounts to be suspended due to this pledge level lowering.

I thought, I'd very quickly get this done, but due to the various tests I added (and I attempted to add a general login rate limit test, but didn't manage that in the end) it took basically all of yesterday and today, tomorrow I'll resume what I was doing for Thrive before this urgent issue popped up. 

If there are any problems logging in now or still in your account status, please send a message and I'll look into it.

- hhyyrylainen


More Creators