diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-16 19:45:42 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 18:12:25 +0200 |
| commit | 95049fdd5e96e046e7ab8309a3a739d3cd94b497 (patch) | |
| tree | fdfe0e6e7a4e0182bce30db47e3f6f4c9d7af264 /Gemfile | |
| parent | 2c9c0cb98050ba7577e2114076573f33ad8441e1 (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-- | Gemfile | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -38,6 +38,7 @@ gem 'rails_icons' | |||
| 38 | gem 'globalize', '~> 7.0' # translated model attributes (Page title/abstract/body) | 38 | gem 'globalize', '~> 7.0' # translated model attributes (Page title/abstract/body) |
| 39 | gem 'acts_as_list' # page revision ordering | 39 | gem 'acts_as_list' # page revision ordering |
| 40 | gem 'will_paginate', '~> 3.0' | 40 | gem 'will_paginate', '~> 3.0' |
| 41 | gem '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. |
