Retrospec
Retrospec

Reputation: 113

Rails 7 with Devise and token

I have a rails 7 app with devise in development mode. When i register a new user, the token response is encrypted in the terminal and i can't recreate the link to confirm the user account.

How is it possible to acquire the token?

Upvotes: 0

Views: 293

Answers (1)

krzyskk
krzyskk

Reputation: 90

You can use .send_confirmation_instructions method. Probably you need to configure a tool like "Letter opener" to read this email in development.

Upvotes: 1

Related Questions