williamatodd / devise-2fa

Devise 2FA with Time Based OTP/rfc6238 tokens and encrypted secrets.
MIT License
9 stars 7 forks source link

Updates model encryption field designation for SymmetricEncryption #22

Open williamatodd opened 4 years ago

williamatodd commented 4 years ago

When Symmetric Encryption was updated in a past release, the field designations in the generator were not altered to reflect the upgrade's new expected format. This PR should fix the NoMethodError: undefined method `attr_encrypted' error as reported by @richardonrails in #21.