bitzesty / devise_zxcvbn

Devise plugin to reject weak passwords using zxcvbn
MIT License
194 stars 38 forks source link

Update method invocation for Ruby 3.0 #40

Closed floriandejonckheere closed 3 years ago

floriandejonckheere commented 3 years ago

Ruby 3.0 separates positional from keyword arguments, which renders a call in the gem not to work anymore. Splatting the hash makes the methods work again.