Sha256: a6806e1f2b87ab07e0fc053c54b4628bd14414d62bd2316c915c236c42a91bb7
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
Passwd.current.config.tap do |config| # Number of hashed by stretching # Minimum is 4, maximum is 31, default is 12. # See also BCrypt::Engine # config.stretching = 12 # Random generate password length # config.length = 10 # Array of characters used for random password generation # config.characters = [("a".."z"), ("A".."Z"), ("0".."9")].map(&:to_a).flatten end # Session key for authentication # Rails.application.config.passwd.session_key = :user_id # Authentication Model Class # Rails.application.config.passwd.auth_class = :User # Redirect path when not signin # Rails.application.config.passwd.signin_path = :signin_path
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passwd-0.4.0 | lib/generators/passwd/install/templates/passwd.rb |