Using encrypted email field with Ash Authentication

I was wondering, do you think it would be hard, or even possible with the current implementation to use an encrypted_email field the same way you have encrypted_name or encrypted_address with ash_authentication? Having the e-mail field not encrypted in the database really bothers me tbh.
2 Replies
jart
jart3y ago
It's certainly possible and I don't think it'd break anything major. I expect you'd have to write your own registration and sign in actions though.
Blibs
BlibsOP3y ago
I will try that when I get some free time, if I'm able to make it work I will post here the details

Did you find this page helpful?