cbeer / devise-guests

fake 'em until you make 'em
MIT License
130 stars 31 forks source link

Fix Devise.authentication_keys method name #26

Closed r3cha closed 3 years ago

r3cha commented 5 years ago

If you have in your Devise configuration changed authentication_keys like:

 config.authentication_keys = [:phone]

In project was hardcoded generation method guest_email_authentication_key But we need to be dynamic from config.authentication_keys In this fix takes only first element of array

pacso commented 3 years ago

Will resolve with #36