-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Guest Users #29
Fix Guest Users #29
Conversation
remove unique:users onRegister to fix User guest accounts See: wintercms#28
You would need to add the rule conditionally like here under complex conditional validation: https://wintercms.com/docs/services/validation#conditionally-adding-rules |
add sometimes validation
Ok I added sometimes |
I had something more like this in mind:
Not sure if there's a better way to achieve the same |
I'm going to close this and implement the validation here as Rule objects. This implementation is essentially checking the uniqueness of the email twice (once for the "sometimes" callback, and another with the Thanks for the submission though, @AIC-BV. |
@bennothommo |
I am working on an alternate PR that uses a Rule object instead, so it will be fixed. |
Is there any news on this? 😄 |
@bennothommo ping 😉 |
Thanks for the reminder. I did have a crack at this months ago, I think I got stopped by the fact we don't support |
remove unique:users onRegister to fix User guest accounts
See: #28