Avoid devise automatic sign-in after email confirmation
After email confirmation, devise automatic sign-in users, how configure devise to avoid that?
# devise.rb
Devise.setup do |config|
config.mailer_sender = 'noreply@secret.com'
end
# Gemfile
...
gem 'omniauth', '~> 1.3.1'
gem 'devise', '~> 4.2.0'
gem 'devise_token_auth', '~> 0.1.39'
Thanks!