Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/generators/sorcery/templates/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,16 @@
# user.subclasses_inherit_config =

# -- remember_me --
# change default remember_me_token attribute.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this was accidentally included from your code in the other PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the column name of the remember_me_token attribute, not the name of the remember me cookie.

# 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