Skip to content
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

Duplicate Email is not getting validated after couple of times #10

Open
Chandra736 opened this issue Jul 10, 2012 · 0 comments
Open

Duplicate Email is not getting validated after couple of times #10

Chandra736 opened this issue Jul 10, 2012 · 0 comments

Comments

@Chandra736
Copy link

When same email id is given for registration, in the beginning it worked fine saying "email has already taken" but after couple of times the same is not working. I looked in to the code in RegistrationController.rb , this condition would fail (resource.active_for_authentication?) and else part is executed (expire_session_data_after_sign_in!
(render(:partial => 'thankyou', :layout => false) && return) if request.xhr?) this is trying to delete the user, which is wrong...!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant