I use devise in my rails application and I want like to know if it is possible to make a trick with registration form:
If a user types in a registration form his emai,l password and its confirmation and his email is already taken (because he forgot that is already registered, log in him (if pass is the correct) rather than show him a error message?
Of course if the password is not the same show the message like as usual.
I not found any article on this subject (or I'm wrong)
Does It sound possible or too strange?
Thanks for help