开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜