Rails 7带有设计和令牌

发布于 2025-01-25 08:29:42 字数 83 浏览 1 评论 0原文

我有一个带有开发模式的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

动次打次papapa 2025-02-01 08:29:42

您可以使用.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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文