Users with SHA-1 hashes can reset their passwords

This commit is contained in:
Jan Stępień 2011-09-05 22:45:52 +02:00
parent 5d3829cfbf
commit ad1f3b5862
3 changed files with 9 additions and 1 deletions

View file

@ -2,7 +2,7 @@ class UsersController < ApplicationController
before_filter :admin_login_required, :only => [ :index, :show, :destroy ]
skip_before_filter :login_required, :only => [ :new, :create ]
skip_before_filter :check_for_deprecated_password_hash,
:only => [ :change_password ]
:only => [ :change_password, :update_password ]
prepend_before_filter :login_optional, :only => [ :new, :create ]
# GET /users GET /users.xml