ruby on rails - after create changes the devise confirmation token -


so have implemented devise authentication facing problem need change of user object's attribute right after created , using confirmable module when update user object in after_create call automatically changes confirmation_token , error invalid confirmation token first time. if resend confirmation email works questions how can prevent devise change confirmation_token or send confirmation email automatically can send updated/correct token.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -