mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-23 18:50:12 +01:00
Users with SHA-1 hashes can reset their passwords
This commit is contained in:
parent
5d3829cfbf
commit
ad1f3b5862
3 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue