Skip to content

Commit

Permalink
Add missing remember_me attributes to config (Sorcery#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvdvleuten authored Jun 5, 2021
1 parent 107a547 commit 829683b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/generators/sorcery/templates/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,16 @@
# user.subclasses_inherit_config =

# -- remember_me --
# change default remember_me_token attribute.
# Default: `:remember_me_token`
#
# user.remember_me_token_attribute_name =

# change default remember_me_token_expires_at attribute.
# Default: `:remember_me_token_expires_at`
#
# user.remember_me_token_expires_at_attribute_name =

# How long in seconds the session length will be
# Default: `60 * 60 * 24 * 7`
#
Expand Down

0 comments on commit 829683b

Please sign in to comment.