Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Avoid devise automatic sign-in after email confirmation

General • Asked by Bruno Wego

After email confirmation, devise automatic sign-in users, how configure devise to avoid that?

# devise.rb
Devise.setup do |config|
  config.mailer_sender = '[email protected]'
# Gemfile
gem 'omniauth', '~> 1.3.1'
gem 'devise', '~> 4.2.0'
gem 'devise_token_auth', '~> 0.1.39'


I posted this doubt on stackoverflow.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,575+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.