Class: ReviseAuth::PasswordController

Inherits:
ReviseAuthController show all
Defined in:
app/controllers/revise_auth/password_controller.rb

Instance Method Summary collapse

Methods inherited from ReviseAuthController

#revise_auth_controller?

Methods included from Authentication

#authenticate_user, #authenticate_user!, #authenticated_user_from_session, #current_user, #login, #logout, #reset_session, #user_signed_in?

Instance Method Details

#updateObject



4
5
6
7
8
9
10
# File 'app/controllers/revise_auth/password_controller.rb', line 4

def update
  if current_user.update(password_params)
    # flash[:notice] = I18n.t("revise_auth.password_changed")
  end

  redirect_to profile_path
end