Skip to content

Conversation

@dylanfisher
Copy link

I was running into a problem where logging in with a Spree user created after installing this gem was taking around 120 seconds to login in development. I think this was because the devise stretches was set to 20. See this thread for more context heartcombo/devise#1184 (comment).

Perhaps when this initializer was set up originally a different encryption strategy was being used and the higher stretches wasn't as slow.

To get around the issue while using this gem, just override the stretches config in a config/devise.rb initializer in the host app.

I was running into a problem where logging in with a Spree user created after installing this gem was taking around 120 seconds to login in development. I _think_ this was because the devise stretches was set to 20. See this thread for more context heartcombo/devise#1184 (comment).

Perhaps when this initializer was set up originally a different encryption strategy was being used and the higher stretches wasn't as slow.

To get around the issue while using this gem, just override the stretches config in a `config/devise.rb` initializer in the host app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant