mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 09:48:50 +01:00
Remove support for deprecated password-hashing algorithm
* Remove all methods implementing and checking for the old algorithm * Document a pre-upgrade step to check for remaining obsolete passwords * Remove config.salt
This commit is contained in:
parent
6caa2de318
commit
ea0d40060a
19 changed files with 17 additions and 164 deletions
|
|
@ -2,11 +2,6 @@ require 'test_helper'
|
|||
|
||||
class PreferencesControllerTest < ActionController::TestCase
|
||||
|
||||
def setup
|
||||
super
|
||||
assert_equal "change-me", Tracks::Config.salt
|
||||
end
|
||||
|
||||
test "render_date_format requires login" do
|
||||
get :render_date_format
|
||||
assert_redirected_to login_path
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class UsersControllerTest < ActionController::TestCase
|
|||
get :index
|
||||
assert_response :success
|
||||
assert_equal "TRACKS::Manage Users", assigns['page_title']
|
||||
assert_equal 5, assigns['total_users']
|
||||
assert_equal 4, assigns['total_users']
|
||||
assert_equal users_url, session['return-to']
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue