Home > OS >  Rails 7 with Devise and token
Rails 7 with Devise and token

Time:05-03

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?

CodePudding user response:

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

  • Related