Is it possible to get the user id from the email confirmation token when the user confirms their email, rather than the user having to log back in?
From what I understand, it was easier in past versions of devise but may no longer be possible.
Is it possible to get the user id from the email confirmation token when the user confirms their email, rather than the user having to log back in?
From what I understand, it was easier in past versions of devise but may no longer be possible.
BAD IDEA USE ID AS FINDER your id can change... you should use some users' attributes for example email or uuid (social networks) or other uniq field...
but you can, I suggest use Rails verifier
for creating confirmation links.