According to this issue, if I do not require my users to "confirm" their account after creating it, then I can pass this option to the config, config.allow_unconfirmed_access_for = nil
, which I found in this issue. However, what is unclear to me is the rest of the configuration for confirmable:
i) Do I need update my Devise User model with devise :confirmable
? Right now it looks like this and does not have :confirmable
passed:
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable
ii) Also, what needs to change with regards to the migration file? With config.allow_unconfirmed_access_for = nil
, do I need to uncomment the confirmable fields in my migration file as specified in these docs? Or do I leave the comments alone?
Currently I am using Rails 6.0.1
and Devise 4.7.1
.