DEV Community

Discussion on: My Public Inbox

Collapse
 
galtzo profile image
Galtzo • Edited

Are you familiar with the concept of "invariants"? It is a query you write with SQL, or via ActiveRecord, that should have a specific count result, usually 0.
For example, the count of users with invalid data should be zero.

I have no idea how my Forem account broke, though I suspect it was related to when my Dev.to account was deleted/banned and accused of being a bot.

Even since then my Dev.to access has worked, but I can't login to Forem, and the reset password, just goes in circles, never showing an error, but also never actually resetting my password. I'm guessing it is because user.save is returning false.

Might be worthwhile having an invariant that check for users with a particular type of data characteristic, like my Forem account currently has, to make sure they are able to use the product.
Account is peter dot boling at gmail dot com.

Cheers!

Collapse
 
galtzo profile image
Galtzo • Edited

I am unable to sign up for an account on Forem. I am unable to login to Forem. I am unable to request a password reset on Forem. When you accidentally deleted my dev.to account, it must have banned me on Forem also. Is this something that can be resolved? I would ask support, but they lied to me (or you did, still unclear?) about the manner in which my account was deleted, so I am not comfortable messaging them again. You have a public face, so I'm inclined to believe your explanations over theirs.

Collapse
 
galtzo profile image
Galtzo • Edited

Shortly after posting that last comment I got an email that my Forem account had been locked due to too many failed login attempts. I used the link to unlock my account. I used the "forgot password" link to request a reset password link, and the email did actually come through! But upon attempting to set a new password, I was dumped back into the same cycle. Submitting the form clears it, and displays no messages. Logging in, in the hope that the reset might have worked, does the same. No error message. Just reloads the login form. Please unlock my account (for real this time)!

In case you missed it in my first message, I suspect that my user record is unable to be saved, due to some invalid state.