Sha256: 9b8eb6d8da076bbd85aa4db4f4fb91bb282e1d4c3a09c0cfdc880492307cbefe
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
::CurrentUser.setup do |config| # Setup an authentication key. # If you want to have a custom key, it might look like: # config.authentication_key = '4242424242424242' config.authentication_key = ::CurrentUser.read_authentication_key # Setup how users might be distinguished via UI. # It might be a symbol, a string or a lambda. # For the last case it might be: # config.identifier = lambda { |u| "User with email #{u.email}" } config.identifier = :email end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
current_user-0.0.1 | lib/generators/templates/current_user.rb |