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
If you have in your Devise configuration changed authentication_keys like:
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