mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +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
|
|
@ -38,7 +38,5 @@ Rails.application.configure do
|
|||
# Unique cookies and use cookies for session
|
||||
# config.action_controller.session_store :cookie_store, :key => 'TracksCucumber'
|
||||
|
||||
SITE_CONFIG['salt'] ||= 'change-me'
|
||||
|
||||
config.time_zone = 'UTC'
|
||||
end
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ Rails.application.configure do
|
|||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
SITE_CONFIG['salt'] ||= 'change-me'
|
||||
|
||||
config.time_zone = 'UTC'
|
||||
|
||||
# Raises error for missing translations
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
# This is the 'salt' to add to the password before it is encrypted
|
||||
# You need to change this to something unique for yourself
|
||||
salt: "change-me"
|
||||
|
||||
|
||||
# NOTE: openid, ldap and cas are currently not supported anymore.
|
||||
authentication_schemes:
|
||||
- "database"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue