Rails - Devise - "Your password has been set successfully. Now you are logged in" - How to disable?

currently with the setting, when you set the password, a flash message is displayed: "Your password has been set successfully. You are logged in."

How to disable flash notification?

thank

+3
source share
1 answer

Devise uses flash messages from I18n. To configure the application, the easiest way is to configure the locale file:

en:
  devise:
    passwords:
      updated: ""

Empty messages will not be displayed.

+3
source

Source: https://habr.com/ru/post/1793425/


All Articles