Rails 7带有设计和令牌
我有一个带有开发模式的Rails 7应用程序。 当我注册新用户时,令牌响应将在终端加密,我无法重新创建链接以确认用户帐户。
如何获取令牌?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
.send_confirmation_instructions
方法。可能您需要配置“ Letter Opener”之类的工具才能在开发中阅读此电子邮件。You can use
.send_confirmation_instructions
method. Probably you need to configure a tool like "Letter opener" to read this email in development.