Hi, I’m interested in using discourse for a whitelisted, anonymous discussion board.
Is it possible to hash the emails stored in the database right after it’s verified?
I understand this means that if the user forgot his/her password then it can’t be recovered.
Hi Jeff, thanks for the reply. What I meant is not just hashing the password, but the emails as well. So even as the website/forum owner, we don’t know which emails the users use after it’s been verified.
I agree that one of the consequences would be that “forgot password” wouldn’t be working. As for signup, we thought of only keeping it until it’s verified, then we hash it.
We want to know as little as possible about our users, aside from the initial email domain whitelist.
Not possible and we have no plans to do it. Email is central to identity in Discourse. You could maybe use invalid emails to sign up, but I have no idea how you’d confirm your signup via email in that case
You could create and manually activate users with intentionally invalid email addresses, disable all email globally in the site setting… people would be out of luck if they ever forgot their password, though. Each and every signup would require manual activation by staff.
You should use SSO, then you can handle authentication outside Discourse and do whatever you want, and return invalid emails back, since your app will handle authentication.