开发者

Rails - Devise - "Your password was set successfully. You are now signed in" - How to disable?

开发者 https://www.devze.com 2023-02-12 19:24 出处:网络
cu开发者_如何学Crrently with Devise when you set a password the flash notice: \"Your password was set successfully. You are now signed in\" is displayed.

cu开发者_如何学Crrently with Devise when you set a password the flash notice: "Your password was set successfully. You are now signed in" is displayed.

How can you disable that flash notice?

Thanks


Devise uses flash messages with I18n. To customize your app, the simplest way is to set up your locale file:

en:
  devise:
    passwords:
      updated: ""

Empty messages won't be shown.

0

精彩评论

暂无评论...
验证码 换一张
取 消