summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-16 19:45:42 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-16 19:45:42 +0200
commit220ed6c7914f5977d36b7617e9c38999317f57e5 (patch)
tree85508f95b1f5df52ff1edfd5530285278a00c839 /Gemfile
parent45b130fd28f60a67552121b2dfab227279615a26 (diff)
Implement transparent password hash migration
Add has_secure_password and bcrypt while retaining compatibility with legacy SHA-1 password hashes. Existing users are upgraded to password_digest on their next successful login. Add regression tests covering both legacy and modern authentication paths.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 97257a9..cad34df 100644
--- a/Gemfile
+++ b/Gemfile
@@ -38,6 +38,7 @@ gem 'rails_icons'
38gem 'globalize', '~> 7.0' # translated model attributes (Page title/abstract/body) 38gem 'globalize', '~> 7.0' # translated model attributes (Page title/abstract/body)
39gem 'acts_as_list' # page revision ordering 39gem 'acts_as_list' # page revision ordering
40gem 'will_paginate', '~> 3.0' 40gem 'will_paginate', '~> 3.0'
41gem 'bcrypt', '~> 3.1'
41 42
42# Pinned to git until a release widens the activerecord < 8.1 ceiling. 43# Pinned to git until a release widens the activerecord < 8.1 ceiling.
43# Both gems work correctly on Rails 8.1; the gemspec constraint is overly conservative. 44# Both gems work correctly on Rails 8.1; the gemspec constraint is overly conservative.