We've moved discussions to Discord

Devise Confirmable not Working as Expected

Ryan Chin
I'm trying to get Devise's confirmable working.  When I look at the documentation, it looks like all that's needed to get it to work are that: (1) :confirmable is specified in user.rb, and (2) the confirmation fields are in the User table.

Both of these already happen with Jumpstart out of the box, but when I'm registering a user in dev (haven't deployed my code anywhere yet), then User.confirmed_at is automatically getting populated without any User action (and confirmation_token and confirmation_sent_at are nil).

I have not changed any settings in the Devise initializer.




Ryan Chin
Finally figured it out.

skip_confirmation! was in user.rb and in controllers/users/registration_controller.rb

After removing those, the user was sent the email to confirm their account before they could login.
Brian Carpenter
Thanks, Ryan.  This saved me some time today.
This helped me as well but the link the confirm email is sending out is going to http://url9208.mydomain.com/ls/click?
and therefore does not work. I am not using any subdomain setup. where did the url9208 come from?
Notifications
You’re not receiving notifications from this thread.