Our Discourse install has the anonymous user feature enabled, but clicking it does nothing.
Looking in the logs, I can see:
ActiveRecord::RecordInvalid (Validation failed: Email is not allowed from that email provider. Please use another email address., Name can't be blank)
Now, this error would be okay if it weren’t for the anonymous user. We’re blocking all e-mails not from a specific domain and we’re requiring names.
Could it be possible to implement some sort of code that allows the Anonymous user to bypass e-mail and name checks?
sam
(Sam Saffron)
May 11, 2015, 5:28am
2
are you disallowing signups from certain domains?
1 Like
We’re disallowing signups from all domains except for a handful.
(where example.com is the Discourse domain name)
sam
(Sam Saffron)
May 11, 2015, 5:32am
4
Well then, that explains it, we may need to bypass here, emails on anon are of the form
056130de251a63d4bac3d6c85034afa0@d3fc952a1feaeb9cd14e241af49873dd.com
If the domain didn’t randomly change, it wouldn’t be a problem.
Is there any way I can fix this, or do I have to wait for this issue to be solved?
I support making all anons from example.com personally. That seems fine @sam
What about making anons use the same domain as the Discourse install?
1 Like
sam
(Sam Saffron)
May 11, 2015, 5:43am
8
yeah that is a good suggestion, perhaps
anon.meta.discourse.org
Its a domain you have control over AND that will not clash with an existing valid one
sam
(Sam Saffron)
May 11, 2015, 6:14am
9
its already using example.com it appears so nothing really left to do, I think that is fine for now. @KazWolfe just whitelist example.com and you should be good
1 Like
sam
(Sam Saffron)
May 11, 2015, 7:52am
10
3 Likes