mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-14 01:08:12 -05:00
This fixes #4710. Rails introduced :secrets in v5.1. They somehow changed it to :credentials. This fix represents this change. Devise will now look :credentials first, then fallback to :secrets for 5.1.x compatibility then it will check for standard secret key. If three not found then exception will arise.