# frozen_string_literal: true class Authentications::PasswordsController < Devise::PasswordsController # GET /resource/password/new # def new # super # end # POST /resource/password # def create # super # end # GET /resource/password/edit?reset_password_token=abcdef # def edit # super # end # PUT /resource/password # def update # super # end # protected # Override to set a flash message on successful password reset def after_resetting_password_path_for(resource) flash[:notice] = "Votre mot de passe a été changé avec succès. Vous êtes maintenant connecté." super(resource) end # The path used after sending reset password instructions # def after_sending_reset_password_instructions_path_for(resource_name) # super(resource_name) # end end