How do I enable :confirmable in Devise?

前端 未结 6 2229
我在风中等你
我在风中等你 2020-12-04 19:58

The newest version of Devise doesn\'t have :confirmable enabled by default. I already added the respective columns to the User model but cannot find any code examples of how

6条回答
  •  情歌与酒
    2020-12-04 20:05

    After configuring the ActionMailer setting described above I had to make one last addition to the config/environments/development.rb file to fix an error page that would show up after registering a new user:

    config.action_mailer.default_url_options = { :host => 'localhost' }

    More details about this solution: Heroku/devise - Missing host to link to! Please provide :host parameter or set default_url_options[:host]

提交回复
热议问题