Comments (3)
@handcrab Could you please show me your Gemfile.lock
I am interested in a version of therubyracer
from devise_zxcvbn.
I've tried to run this with these gems and it works. I guess I have to set the same version of therubyracer
and zxcvbn-js
...
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
zxcvbn-js (4.4.2)
execjs
from devise_zxcvbn.
@handcrab I could not reproduce the issue with following versions
devise_zxcvbn (2.1.1)
devise
zxcvbn-js (~> 4.2.0)
rails (5.0.2)
sidekiq (2.17.6)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
Can you please provide with more info on the versions of the gems and/or the sample application where the error can be reproduced?
class User
def weak_password?(password)
Devise.zxcvbn_tester.test(password, []).score < Devise.min_password_score
end
end
class HardWorker
include Sidekiq::Worker
def perform
puts User.new.weak_password?("123")
end
end
irb(main):009:0> HardWorker.perform_async
2017-03-29T15:19:18Z 9522 TID-ovzi54q3o INFO: Sidekiq client with redis options {}
=> "74826ba2d48b195a20495197"
from devise_zxcvbn.
Related Issues (18)
- Discrepancies in scores between this gem and the original Dropbox module HOT 6
- Release date? need bug fix pushed HOT 2
- Strategy for dynamic min_password_score HOT 2
- NoMethodError (undefined method `password_required?' for #<User:0x007f9b8610d500>) HOT 4
- Doesn't seem to work with Rails 5 & Devise 4.2 HOT 7
- Skip scoring if model has other errors. HOT 3
- Version 2.1.2 doesn't work HOT 1
- NoMethodError - undefined method `feedback' for #<Zxcvbn::Score:0x007fb4390a17a8> HOT 1
- Can't call zxcvbn js function HOT 4
- Update README
- Feedback formatting
- Please release a new version HOT 2
- undefined method `skip_password_complexity?' for #<User:0x000055564192c1f0> HOT 1
- Force old users HOT 1
- Allow users to customise the weeks works list HOT 3
- Error HOT 2
- Release new version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devise_zxcvbn.