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.
精彩评论