Sha256: 9bc91688c431e9d56c7e8648db3682f578ab68dac8becc0b7c7571f755df6d88

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

# ==> Configuration for jwt
Devise.jwt do |jwt|
  jwt.secret = ENV.fetch('JWT_SECRET_KEY', Ibrain::Auth::Config.jwt_secret_key) # Rails.application.credentials.secret_key_base
  jwt.expiration_time = 3600 * 24 * 30 # 30day
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ibrain-auth-0.1.2 lib/generators/ibrain/auth/install/templates/config/initializers/ibrain_jwt.rb.tt