Devise Confirmation email is being to sent to mail, How to prevent user from login if they don't confirm mail?
I am using devise. Before I was able to login without email confirmation. Then I had to setup email confirmation for my application. So I added confirmable on user.rb and made changes on devise user migration. Also, I made changes…